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 might be asking a trivial question here, but how do the search engines treat loops created via rel="canonical" tag?

My scenario is that being a site having dynamic content, I have URLs as follows:

... etc

Now, I add a canonical tag to the JSP rendering all the above 3 URLs such that all of them will have the same canonical URL:

<link rel="canonical" href="http://mysite.com/mynews.htm" />

Now, the canonical URL is fine for URLs 2 & 3 but is exactly the same as URL 1. How will the various search engines respond to this scenario, as this will create "infinite loops"?

Hope to get a reply soon. Thanks.

share|improve this question

migrated from stackoverflow.com Nov 2 '11 at 8:42

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

up vote 3 down vote accepted

Redundancy is ok as it just means that URL is the canonical URL so it can safely be ignored on that page. There is no infinite loop if you do this.

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.