1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Regarding interal linking, should I use relative URL or not?

Discussion in 'White Hat SEO' started by loginname, Jan 30, 2010.

  1. loginname

    loginname Regular Member

    Joined:
    Oct 1, 2008
    Messages:
    392
    Likes Received:
    14
    Hi

    I wonder if I should use relative URL or the full URL when linking internal pages inside my website?

    I've been using relative urls, but wonder if that might be wrong.
     
  2. squelsh

    squelsh Regular Member

    Joined:
    Mar 19, 2009
    Messages:
    349
    Likes Received:
    170
    I read a while back that its better to use the full url and have always used that. I dont think it's makes a huge difference but every little helps!
     
  3. yoyas

    yoyas Junior Member

    Joined:
    Nov 14, 2008
    Messages:
    145
    Likes Received:
    397
    Location:
    Spain
    I think the relative url is always better because if you want to change the domain, or clone your site or whatever, that relative url will not point back to old domain.
     
  4. Bloox

    Bloox Regular Member

    Joined:
    Oct 20, 2009
    Messages:
    213
    Likes Received:
    46
    Location:
    Hamburg
    Yes, you should use relative ones. When ever you change something you don't need to change every link then.
     
  5. 195471

    195471 Regular Member

    Joined:
    Oct 11, 2008
    Messages:
    417
    Likes Received:
    260
    While using relative URLs has advantages in terms of convenience and reduced file size, it also makes your site vulnerable to hijacking.

    Code:
    http://www.google.com/#hl=en&q=%22hijacking%22%2B%22relative+urls%22&aq=f&aqi=&oq=&fp=1&cad=b