WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. 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

Couldn't find anything in the related questions, so here goes:

I have a post which, when viewed on the site, is returning a redirect loop. The error page is showing an address for the post that originated when the post was added to a category that was subsequently deleted.

www.macrowikinomics.com/innovation-communities/business-economics/will-facebook-be-your-crm-provider is the correct address, but it keeps redirecting to www.macrowikinomics.com/innovation-communities/guest-authors/will-facebook-be-your-crm-provider/. Guest-authors was the old category obviously.

My thought was it might be the automatic canonical URL redirect feature. Despite adding the disable canonical url function (src = Mark Jaquith) it continues to redirect to this old address. Cleared the cache and cookies and still it goes. Tried it in another browser and I continue to get the error. There is also no cache plugin running on the site.

Could it be something in the pretty permalinks? They're using the format /%category%/%postname%/

Many thanks for any thoughts you can provide.

share|improve this question
By any chance, do you have the Redirection plugin or a similar one installed? I know a feature of that is to automatically create redirects of pages if you change the name/url. Sometimes I get infinite loops if I change a page's name or url and then change it back without remembering to remove the redirect from the plugin. – PNMG Dec 10 '10 at 3:32
Thanks very much. That was precisely the problem. – Christopher Dec 13 '10 at 2:49
up vote 3 down vote accepted

Do you use a plugin called Redirection? It has a setting that will automatically create redirects when a post permalink is changed, and if the post is renamed and then changed back to the original name, you get a loop. And if a category is removed, WP will reassign a post to the default category and that may be part of it, too.

Also, check .htaccess for any hardcoded 301 redirects.

share|improve this answer
Thank you very much! Forgot that redirection was even installed. – Christopher Dec 13 '10 at 2:49
I can confirm this settings just kills the page if you change the slug back and forth to the same values ... Thanx songdogtech for this hint ! – Jonathan Liuti Mar 25 '12 at 22: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.