Is it best to use absolute or relative links?

There is no clear answer to the question: Is it best to use absolute or relative links? For SEO you would like to use relative links because they take up less bytes because they are shorter. If you have a lot of internal links on your site this can make a difference of over 1 Kb. On the other hand you want to use absolute links as an SEO, because that way you have a change of getting back links from people who ‘syndicate’ your content. When you are publishing your content via RSS, Atom or JSon, you should definitely use absolute links to make sure that the links in your syndicated content do not get broken when published on an other website.

Posted via web from Coding Strategist

Leave a Reply

Your email address will not be published. Required fields are marked *