Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm getting a little confused about adding canonical tags to pages. Some (most?) guides suggest using a link tag thusly:

<link rel="canonical" href="www.example.com/somepage" />

but some others suggest a meta tag like so:

<meta rel="canonical" href="www.example.com/somepage" />

Are both allowed? Which is right? If one is wrong, where does the confusion stem from?

Thanks.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

The first one is correct. There is a meta tag for acknowledging the original work if you republish content but that is something else entirely.

share|improve this answer
add comment

Your Answer

 
discard

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.