• Resolved Kirk

    (@kirkre)


    We have a problem on our site where using a particular name for a post results in a redirect loop for that post. I found that disabling Custom Post Type UI 1.1.1 fixes the redirect loop. I did try resetting permalinks and that did not help.

    I am only aware that this has been an issue with this particular post. It’s possible this has happened to other posts on the site, because I only recently started troubleshooting issues with this site, but just to clarify that everything outside of this one post works fine.

    As a temporary workaround for the issue I simply changed the name of the post, but it would be nice to resolve the issue itself so this does not happen again.

    Any ideas on what is happening here? I did search for answers and found others with the same issue, also apparently fixed by disabling Custom Post Type. I also found suggestions outside of this forum that changes to custom-post-type-ui.php could fix the issue, but the suggested changes did not match our version, I am not sure I understood that correctly, and I don’t want to suggest the redirect loop is even an issue with this plugin in spite of the evidence, because I really don’t know, just reporting what I learned and looking for help.

    I can reproduce the issue on a test site for illustration if that will help.

    Thanks!

    Kirk

    https://ww.wp.xz.cn/plugins/custom-post-type-ui/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    What’s the name of the post you’re using? An example of the URL and the title used would help.

    Are you willing to provide an export of your post type settings and your chosen permalink setting so that I could import and match as best possible?

    Just trying to gather up as much information I can to actually start looking at the issue, since there is not too much to go on in the initial post.

    Thread Starter Kirk

    (@kirkre)

    Thanks Michael. The URL that causes the redirect loop is:

    /fr/wopg-events/amaroo-australie/

    Here is post type settings export.

    The permalink setting is post name.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hrm. I’ve imported the settings, set my permalinks to just /post-name/ etc, and created a post that matches that, with the exception of the /fr/ part. I’m not getting any sort of redirect looping going on.

    I’m curious if you have some sort of redirects plugin or htaccess redirects that are matching this url unexpectedly.

    Thread Starter Kirk

    (@kirkre)

    No applicable redirects that I can find. I looked at all .htaccess entries and tested with the .htaccess files renamed. We use the Simple 301 redirects plugin, but nothing there that could match, and I tested with that plugin disabled as well. I grepped the contents of every file in the web root, and searched all the databases, for strings that could match in case there was a redirect method implemented that I didn’t know about, or maybe a conflicting file name if that could break something. Did not find anything. I didn’t develop the site, and the developer is not available to help with this, so I thought I may as well do a blind check.

    I was able to reproduce the problem on a warm spare. That does not work very well for testing because it is automatically synced with the live site, but I’m going to put up a test clone of the site for other reasons soon. If nothing else helps and you’re willing to take a look I could give you access to that.

    Thanks!

    Kirk

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    I wouldn’t argue against access to a test clone that has it reproduced.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Any update on this one, Kirk?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Redirect Loop’ is closed to new replies.