Question about format of URL's for internal linking.

Discussion in 'Link Development' started by tomd, Jan 20, 2006.

  1. #1
    Forgive me if this question has been asked before.

    When linking internally to url's within my site, is it better (in terms of SEO), to format my href's as absolute URL's such as:

    <a href="http://www.mindspring.com/~digiulio/index.html">

    or is it better to use a <base> tag and then a relative URL of <a href="index.html">, for instance.

    Advantages/Drawbacks of one method over another?
     
    tomd, Jan 20, 2006 IP
  2. jrd1mra

    jrd1mra Peon

    Messages:
    243
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I have used both ways in different applications, using an absolute link helps with cannocial issuses such as G. counting your domain twice one with www and one without. However an easier solution to that is a 301 redirect.

    relative URLS are more flexible, if you ever change your domain name you don't have to change each tag or worry about excessive redirects. using relative URLS is better when you use a program such as DreamWeaver IMHO.

    I have grown to like relative URL's better over the years.
     
    jrd1mra, Jan 20, 2006 IP