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 implementing the canonical tag in my page to avoid be penalized with duplicate content flag by search engines. My doubt are the following:

  • If I have a page COPY with the canonical tag pointing to ORIGINAL, and in this ORIGINAL page I have the canonical tag pointing to ORIGINAL again, what are the consequences? The thing is, that for me is more easy to generate the tag in all pages, and not only in the copies.

  • Can i put the <link rel="canonical" href="ORIGINAL" /> in anyplace, or should be in the <head> tag.

share|improve this question

migrated from stackoverflow.com Aug 31 '11 at 14:59

This question came from our site for professional and enthusiast programmers.

up vote 5 down vote accepted

You can have a <link rel="canonical"> on the original page. There's no harm in doing so. It's just redundant but that's not a problem.

<link rel="canonical"> belongs in the <head> section only. If it is outside of the <head> it is invalid HTML and may not be honored.

share|improve this answer
Do you mean "invalid HTML"? – Peter Taylor Sep 1 '11 at 8:09
Yes, corrected my answer – John Conde Sep 1 '11 at 12:06

If you know all things regarding how to add canonical rel in web page please visit : http://www.google.com/support/webmasters/bin/answer.py?answer=139394

share|improve this answer

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.