Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

<link rel="canonical" href="">

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

1 Answer 1

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, 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.