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

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

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.