How to make internal links into a wordpress site?

Discussion in 'HTML & Website Design' started by nick2007, Dec 2, 2010.

  1. #1
    How to make internal links into a wordpress site?
    I thought like this; <a href="link.html">Link</a>
    However, that no work.
     
    nick2007, Dec 2, 2010 IP
  2. WasabiHound

    WasabiHound Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi Nick2007

    That looks about right - you can get the exact syntax here at

    I suspect you might be trying to add it in the visual editor rather than the HTML editor.

    It's pretty straightforward if you use the visual editor - just highlight the text you want to put the link on then click on the link button (it looks like a chain link) and put the address in the appropriate section of the popup window.
     
    WasabiHound, Dec 2, 2010 IP
  3. nick2007

    nick2007 Well-Known Member

    Messages:
    1,546
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    128
    #3
    Problem is, that no works at all.
    Say, a website has 2 pages; the page A and the page B. How to put a link on the page A to the page B without URL?
    I think internal links must be without URL. Something like; <a href="link/">Link</a> , and not like; <a href="http://www.domain.com/link.html">Link</a>.
    Please, correct me if i wrong.
    Thank you.
     
    nick2007, Dec 2, 2010 IP
  4. nick2007

    nick2007 Well-Known Member

    Messages:
    1,546
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    128
    #4
    However, that no works at all.

    Say, a website has 2 pages; the page A and the page B. How to put a link on the page A to the page B without URL?
    I think internal links must be without URLs. Something like; <a href="link/">Link</a> , and not like; <a href="http://www.domain.com/link.html">Link</a>.
    Please, correct me if i wrong.
    Thank you.
     
    nick2007, Dec 2, 2010 IP
  5. Rick Krenz

    Rick Krenz Peon

    Messages:
    25
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    you were close.... it's <a href="/link.html">Link</a> instead of <a href="link/">Link</a>
     
    Rick Krenz, Dec 2, 2010 IP
  6. nick2007

    nick2007 Well-Known Member

    Messages:
    1,546
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    128
    #6
    Thank you. Yeah, it works ok now.
     
    nick2007, Dec 3, 2010 IP
  7. Annamina

    Annamina Guest

    Messages:
    66
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    use / to indicates the same folder where you put ur files. (not \ as in Windows :p)
     
    Annamina, Dec 3, 2010 IP
  8. Malrook

    Malrook Peon

    Messages:
    72
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    It wasn't asked but just in case you came across it later. You use "/" to indicates the same folder but if the target is one folder up on the tree simply add ".." in front of the "/" like this "<a href="../link.html">link</a>" if you want to go 2 folders up its <a href="../../link.html">link</a> so on and so on. Hope it helps.
     
    Malrook, Dec 3, 2010 IP