1

On a WordPress website, WordPress SEO plugin by Yoast creates this weird canonical link. Basically the website name is www.test.com and when I inspect the webpage at www.test.com it shows me this link:

<link rel="canonical" href="http://www.test.com/">

This looks completely wrong to me, because canonical should be the same content on different URL but the URL is the same!

1 Answer 1

1

It sounds like you are a bit confused about canonical tags.

Yes you can use the canonical tags on a page with duplicate content to reference a different 'main' canonical page, but you can still use canonical tags on their own page referencing themselves.

This can help with any unforeseen or future canonical issues that may arise, or combat duplicate pages in instances such as:

http://test.com/

http://www.test.com/index.php

The pages above are the exact same page as http://www.test.com/, but accessible without www prefix and with trailing index.php file.

Here is a video by Matt Cutts from Google on this exact subject.

1
  • 3
    I think Igor-G ask why the plugin puts the canonical URL on a webpage referencing itself and you don't explain why.
    – Zistoloen
    Commented Jun 20, 2013 at 10:48

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.