Does website seo score changes the way writing internal links as:

<a href='http://example.com/def' title='abc'>Abc</a>


<a hef='/def' title='abc'>Abc</a>

I know that linking would be same but what to know the impact on SEO the internal link way there are written.


3 Answers 3


Providing you are already canonicalising the requested URL (eg. HTTPS and www subdomain etc.) and the base tag (if any) refers to the canonical URL then, in terms of SEO, it makes no difference whether you are using root-relative or absolute URLs in your HTML source.

Any search engine spider must resolve partial URLs to be absolute, so ultimately there is no difference.

  • why seowebpageanalyzer.com putting weight to internal links and other seo sites
    – Vineet1982
    Commented May 11, 2021 at 3:56
  • @Vineet1982 I'm not sure what you mean? Do you have an example? What does that have to do with root-relative vs absolute URLs in links?
    – MrWhite
    Commented May 11, 2021 at 9:33

These two methods of internal linking do the exact same thing, so I don't see any reason why Google would weight these differently. I've not seen any evidence of a difference for SEO.

That said, the second method has the potential to exacerbate an already existing problem if you are not properly 301 redirecting http to https and non-www to www (or vice versa).

As your website evolves, for example, you may have old links pointing to the http:// when you're now using https:// or non-www if you're using www now. But as long as you're redirecting properly then those older internal links will still work.


I Think there is no big difference if you don't change the URLs and structure very often. For bigger pages like E-Commerce shops with a high intensity of changing URL structures root-relative URLs are better for the handling not for the SEO. It depends on the domain and the system

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.