Which one is search engine friendly?

Discussion in 'Search Engine Optimization (SEO)' started by pradeep, Nov 23, 2006.

  1. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,645
    Likes Received:
    87
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    http://blog.pradeep.net.in
    Which one is search engine friendly, relative URLs or absolute URLs?
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Absolute urls. But you can have relative urls doing the job of absolute urls with the help of a .

    <A href="one.html">One</A> - Relative URL
    <A href="http://www.somesite.com/one.html">One</A> - Absolute URL
    <A href="./one.html">One</A> - Absolute url but is actually a relative one.
     
  3. harry smith

    harry smith New Member

    Joined:
    Oct 2, 2006
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    IMO, you should go with absolute urls as far as SEO is considered as most SE spiders are NOT intelligent like web browsers. With relative urls they tend to stop before proceeding onto a new directory.
     
  4. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,645
    Likes Received:
    87
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    http://blog.pradeep.net.in
    But I guess, absolute URLs are harder to maintain.
     
  5. harry smith

    harry smith New Member

    Joined:
    Oct 2, 2006
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    Yes, that’s true..
    But they will not make havoc in your site if something ( directory-subdirectory ) is changed. You will have to give each changed path which will ensure your site’s integrity.
     
  6. sarawiser

    sarawiser New Member

    Joined:
    Jun 4, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I am sure that search engine spiders can understand both URL formats if they are used correctly.
     
  7. seo.darren

    seo.darren New Member

    Joined:
    Aug 16, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Yes thats right, both URL's doesn't affect the ranking of a site.
     
  8. Adulu

    Adulu New Member

    Joined:
    Aug 20, 2007
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Vahanga
    Home Page:
    http://桌布.tw
    both are different?

    I think no different because both are output the same html code
     
  9. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    The HTML output can be achieved in multiple ways but the better of the 2 is what makes the difference between ordinary and extra ordinary.
     
  10. lucyBrown

    lucyBrown New Member

    Joined:
    Mar 10, 2008
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    Home Page:
    http://www.allbestmessages.com/blog
    Abosulute url's are comparatively better than Relative url's,but search engine can understand both.Absolute url's are use to identify a resourse independence of their context as compare to Relative url's.
     
  11. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,645
    Likes Received:
    87
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    http://blog.pradeep.net.in
    That's a pretty good explanation Lucy!
     
  12. Jenniferlinn

    Jenniferlinn New Member

    Joined:
    Dec 24, 2008
    Messages:
    23
    Likes Received:
    3
    Trophy Points:
    0
    Occupation:
    search engine optimization
    Location:
    UK
    Home Page:
    http://www.micrositez.co.uk/se
    Absolute URL is search engine friendly. To get more details read differences betwwen both:

    An absolute URL typically takes the following form:
    protocol://hostname/other_information

    The protocol is usually http://, but can also be ftp://, gopher://, or file://. The hostname is the name of the computer. For example, the hostname of Indiana University's central web server is www.indiana.edu. The other_information includes directory and file information. You must use absolute URLs when referring to links on different servers.

    A relative URL doesn't contain as much information as an absolute URL does. Relative URLs are convenient because they are shorter and often more portable. However, you can use them only to reference links on the same server as the page that contains them. Relative URLs can take a number of different forms. When referring to a file that occurs in the same directory as the referring page, a URL can be as simple as the name of the file. For example, if you want to create a link in your home page to the file foobar.html, which is in the same directory as your home page, you would use:
    <a href="foobar.html">The Wonderful World of Foobar!</a>

    If the file you want to link to is in a subdirectory of the directory the referring page is in, you need to enter only the directory information and the name of the file. So if foobar.html were in the foobar subdirectory of your www directory, you could refer to it from your home page by using:
    <a href="foobar/foobar.html">The Wonderful World of Foobar!</a>

    If the file you want to link to is in a higher directory than the referring page, use .. , which means to go up a directory. For example, to link from foobar.html to home.html, which is in the directory above, you would use:
    <a href="../home.html">Go back to my home page</a>
     
  13. mikecriss

    mikecriss New Member

    Joined:
    Jan 14, 2009
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    Home Page:
    http://www.printingblue.com
    i read ur discussion again and again but i didnt get what is relative Urls and absolute Urls .........i mean what is the function of both .....what is the written format of both .......plz give me complete details ........
     
  14. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Urls in a web page can be specified in 2 ways.

    1. Is Relative location to current page.
    2. Absolute location.

    Say the home page of this site is 2 folders up from this page and so you can link to home page either by url or by specifying the relative path and both would work the same way as far as user experience is concerned.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice