1

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.

1
  • 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
    Commented Dec 10, 2010 at 3:32

1 Answer 1

3

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.

2
  • Thank you very much! Forgot that redirection was even installed. Commented Dec 13, 2010 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 ! Commented Mar 25, 2012 at 22:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.