SEO and Links: Absolute or Relative Links?

Posted Friday, 17 April 2009 at 15:40 by Andrew Liu
Tagged: search engine optimisation (seo) | link strategy
Read more blogs...

 

One of the most asked questions I field is "what is the SEO difference between absolute and relative linking?".  It is a question that I have always answered with what my head told me; that "there is no difference".  However, there are some myths and rumours, and some evidence to back up the answer that "yes, there once was a difference".

 

Firstly, for the newbies, lets examine what these links are, and how they differ.

 

 

Absolute URLs


eg. <a href="http://www.webtop.com.au/about-us">About WebTop</a>

 

The above HTML code is an absolute link.  You can copy and paste this link anywhere; in your webpage, in my webpage, in a test webpage, and you can be 100% confident that this link, when clicked, will take you to the WebTop website at exactly the designated URL.

 

In general, absolute links are:

  • better at handling canonicalization issues;
  • are safer against site hijacking because they will always take you to your designated site;
  • will save your content from being stolen as most content thieves only copy and paste;
  • work better if your content is being distributed by email, though the proper use of the BASE HREF tag will alleviate that problem;

 

Relative URLs

 

defn: URL whose location is specified relative to the address of the base document in which the URL resides. It provides a shorthand way to refer to files or resources that use the same protocol, domain name, or directory path as the current document. (source)


eg. <a href="/about-us">About WebTop</a>

 

Relative URLs are:

  • more favoured by programmers, as they are more portable across one domain to another.  Generally speaking, a site is designed on a staging server, then moved over to production.  Relative URL's will work in this instance.
  • make your HTML shorter as there is less to code, and may help decrease page load times.

 

SEO Benefits?

 

Today, there is very little, if any, evidence that one type of URL outperforms the other in SEO.  Certainly, and I can say this with experience, about 10 years ago, absolute URL's were more heavily favoured than relative URL's, but I must admit this was when search engine technology was still in its infant stage.  Today, every piece of logic dictates that a link, relative or absolute, should be treated equally (given all other things equal).  And today I see no evidence that leans one way or the other, which I believe highlights the fact that the search engine algorithms have done away with their earlier flaws, and use other means to rank links.

 

 

Web News

Building an Ajax-driven File Uploader
Try a file-upload solution that uses Ajax to provide continuous feedback to the user as the file is being uploaded to the server.
2010-09-07T17:46:26-04:00

Creating an ASP.NET Registration and Confirmation System
Developing a customized Web application that allows for registration and then sends an email confirmation is relatively simple with ASP.NET.
2010-09-03T17:19:57-04:00

Combine Ajax and JSON to Transmit Complex Presentation Data
Learn how to combine Ajax and JSON to override the browser's default locale and perform retrievals of complex data.
2010-09-01T07:04

Ten Tools Web Developers Can't Live Without
What are the 10 open source and online tools that all Web developers should have in their toolboxes? Here's one developer's list of must-haves.
2010-08-25T12:56:04-04:00

Implementing Flexible Website Navigation with WordPress 3.0
WordPress 3.0 allows you to build a flexible navigation system easily using custom menus and just a few lines of code.
2010-08-23T07:04

Company Blog


"sm bus" drivers missing in Device Manager

Posted Thursday, 18 March 2010 at 20:51 by Andrew Liu


When installing a new Windows XP installation, I seemingly always miss some drivers. One that troub...

Read more...



Link Building SEO Strategies

Posted Monday, 08 March 2010
Updated Tuesday, 09 March 2010 at 02:09 by Andrew Liu


Link building might be a necessary step for your search engine optimisation campaign, but very few p...

Read more...



Multiple Domains for SEO performance?

Posted Friday, 05 March 2010 at 23:13 by Andrew Liu


Online businesses and websites that cover a broad range of topics or one large topic are sometimes b...

Read more...



Tag Clouds - SEO or not?

Posted Thursday, 04 March 2010 at 04:34 by Andrew Liu


A tag cloud or word cloud is a visual depiction of tags or words related to a site, typically used t...

Read more...



Mozilla Thunderbird and Gmail IMAP Attachments Bug

Posted Wednesday, 03 March 2010 at 20:15 by Andrew Liu


I've been using Gmail since its early inception, and I was one of the first to utilise Gmail's IMAP ...

Read more...



Read more blogs...