What is the correct internal link?

Discussion in 'Search Engine Optimization' started by shand0, Jun 24, 2007.

  1. #1
    For the index page in the subfolder, what is the correct internal link form.

    1- a href="folder/index.html"

    2- a href="folder/"

    3- a href="http://www.domain.com/folder/"

    4- a href="http://www.domain.com/folder/index.html"

    What is the preferred option, and why?
     
    shand0, Jun 24, 2007 IP
  2. iRAY

    iRAY Peon

    Messages:
    21
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Second and third options are preferred, because shorter URIs are better (for visitors). If you choose second option, use /folder/ instead of folder/ (it solve many issues with relatives URIs) or you can use:
    <base href="http://yourwebsite.tld">
    HTML:
    Absolute URIs are not recommended, because they increase page size.
     
    iRAY, Jun 24, 2007 IP
  3. drig

    drig Peon

    Messages:
    4,188
    Likes Received:
    175
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The user will see the URL the same in all instances (correct me if I'm wrong), so you shouldn't make a decision based on that.

    Also, can you please explain the increase in page size (wouldn't the page increase be so small it shouldn't even be noticeable?)

    I usually go absolute, but I have never read which one to use.
     
    drig, Jun 24, 2007 IP
  4. ronmojohny

    ronmojohny Well-Known Member

    Messages:
    729
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    133
    #4
    I would choose option #4. Internal linking is important to the search engines, and you won't get a duplicate content penalty because of the 2 URL's for the same page that way.
     
    ronmojohny, Jun 24, 2007 IP
  5. iRAY

    iRAY Peon

    Messages:
    21
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    No, it depends where page is placed (folder, subfolder etc.). You should start to read some HTML tutorial :) (joking)

    I am using often absolute URIs too, but when page has a lot of links, than page size is bigger and it results in bad content/source code size ration.
     
    iRAY, Jun 25, 2007 IP
    drig likes this.
  6. drig

    drig Peon

    Messages:
    4,188
    Likes Received:
    175
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Ok, well let me correct myself. The user would only 2 two different options:

    http://www.domain.com/folder/index.html
    /folder/index.html

    /folder/
    http://www.domain.com/folder/

    I could see if you have 1,000+ links, but the avaerage page size shouldn't increase.
     
    drig, Jun 25, 2007 IP
  7. iRAY

    iRAY Peon

    Messages:
    21
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    You have omitted two options. URL starting with folder and /folder are pointing to different places in connection with their placement (folder, subfolder etc. as I already said).

    I am not sure, what are you suggesting, but I hope you don't want to say that absolute URIs do not increase page size - it is a fact ;-)
     
    iRAY, Jun 25, 2007 IP
  8. drig

    drig Peon

    Messages:
    4,188
    Likes Received:
    175
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I'm going to omit my response to your first section on the basis of not being able to explain on a forum. I think we are thinking different things.

    I can see how they could increase a page size, but only if you had a lot. A few extra characters on a page will not make a noticeable increase in page size / loading times. Correct?
     
    drig, Jun 25, 2007 IP
  9. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #9
    i think second option is a better option but you must care one more think . the url with / and without / must point the the same url.
     
    trichnosis, Jun 26, 2007 IP
  10. lukazs

    lukazs Well-Known Member

    Messages:
    583
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    125
    #10
    lukazs, Jun 26, 2007 IP