WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Redirection] Redirection Loop error after renaming category (3 posts)

  1. sairuh
    Member
    Posted 5 years ago #

    Running WP 2.7.1 and Redirection v2.1.11, and I decided to rename one of my categories. Now I can no longer load either http://mydomain.com/category/name1/ or http://mydomain.com/category/name2/ -- Instead I get a redirect loop error:

    Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked.

    However, I don't have cookies blocked for my site.

    When I turned off the Redirection plugin, I no longer got the error, and the URLs for those category pages loaded fine. Could this be a bug in the plugin? Is there something else I could test or do to workaround this issue, while still being able to use the plugin?

  2. sairuh
    Member
    Posted 5 years ago #

    I found more info at the developer's forum, even though it was a bug that was supposed to be fixed in v2.1.11 of the plugin:

    http://urbangiraffe.com/support/topic/redirection-loop-1

    Because the renamed category adds an automatic redirection which actually doesn't work, resulting in the redirection loop problem. The solution for me was:

    1. Go to the database table wp_redirection_items using phpMyAdmin.

    2. Go to the end of this table, and look for recent rows that contain the ^/(.*)$ regex and the old category name. Although in my case I had to also look for those with the new category name since I went back and forth a few times renaming while debugging the issue. O:-)

    3. Delete those newer row(s).

    Things should then work fine!

  3. Dalton
    Member
    Posted 5 years ago #

    Thanks for sharing this, it helped me a lot.

    Cheers,
    Dalton

Topic Closed

This topic has been closed to new replies.

About this Topic