Relative URL and Absolute URL ?

Discussion in 'Search Engine Optimization' started by david.j, Sep 13, 2010.

  1. #1
    Hello friends,
    What is the difference between Relative URL and Absolute URL and what's the uses of them and where are it's useful, is anyway by these url increase visitors or helpful in seo ?
     
    david.j, Sep 13, 2010 IP
  2. Arya Mandodi

    Arya Mandodi Peon

    Messages:
    96
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi Alicia ,

    Is this the reply for the question?
     
    Arya Mandodi, Sep 15, 2010 IP
  3. Jonathan Matthews

    Jonathan Matthews Peon

    Messages:
    9
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    An absolute url in a link looks something like this:
    <a href="http://mySite.com/myDir/myFile.htm">Link text</a>

    A relative url to the same page from a page in the root directory of the site would look like this:
    <a href="/myDir/myFile.htm">Link text</a>

    In theory relative urls can make some aspects of site management easier, for example it's easier to move an entire directory and it's sub-directories to another part of the site but to be honest I've never had a situation where that's been needed and there isn't really much to choose between the two styles.

    As far as I'm aware there's no seo advantage to either. Search engines will treat them the same just as a web browser would.
     
    Jonathan Matthews, Sep 15, 2010 IP
    valvetak47 likes this.
  4. jhonydisuza

    jhonydisuza Peon

    Messages:
    192
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You are right jonathan, i agree with you.
     
    jhonydisuza, Sep 15, 2010 IP
  5. Sam Dillinger

    Sam Dillinger Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    they don't have any impact on SEO. But here is what Google says:

    Possible benefits of absolute:
    1 if someone steels your content they have to recode the links
    2 avoid conicalization problems by forcing all of the links yourself to www or non-www
    3 avoid the https version from being indexed by making links to http pages hardlinked, and only hardlinking to the https pages (transactions, carts, etc)
     
    Sam Dillinger, Sep 19, 2010 IP