Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!

share|improve this question
up vote 1 down vote accepted

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:



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.

share|improve this answer
I think Igor-G ask why the plugin puts the canonical URL on a webpage referencing itself and you don't explain why. – Zistoloen Jun 20 '13 at 10:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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