• Resolved neotrope

    (@neotrope)


    Hi, folks, might be unrelated, but timing is odd.

    Recently after a decade of AMP pages, and using the official AMP plugin since launch, we chose to retire that, and checked the box remove all. So far so good.

    Shortly thereafter (only noticed within a few days), we started to have a very weird redirect error (unlrelated to doing a regex redirect from the /amp to canonical/ pages); where any URL slug for post, old or new with word “champion” would get endless redirect loop.

    e.g.,

    my-story-headline-champion-in-string

    would do loop error to

    my-story-headline-ch/

    and too many redirects, page would not load.

    I have done all the common stuff like checking htaccess, resave permalinks, turn off plugins, import wordpress redirects using Redirection plugin, restart apache, restart nginx, restart php, remove regex redirects, etc.

    Issue persists. Only solution is to revisit a story and remove the word from the slug and resave. Major pain.

    Cannot seem to locate how or where this is possibly happening. Again may be totally unrelated to AMP and simply the odd timing along with most recent WordPress update on PHP 7.4xx. (Cannot yet move to 8.2 due to rewriting some internal code from 2016.)

    Again certainly I’m guessing not /AMP related – but the timing is that this issue didn’t happen when the plugin was active, but started after deactivation.

    Totally perplexed, so any feedback at all would be super useful from anyone. Thanks!! 🙂

    (( Advanced user: started webdev 1995; using WP since 2004. ))

    • This topic was modified 2 years ago by neotrope.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @neotrope

    Thanks for reaching out. While I can’t be sure why your website is redirecting unexpectedly, the AMP plugin likely isn’t the cause.

    AMP plugins typically use Javascript to redirect users to AMP versions on mobile devices. However, deactivating the plugin removes this code, so it shouldn’t be affecting your site anymore.

    To diagnose the redirection issue, I recommend using health check and troubleshooting plugin. Additionally, you can try checking the website’s x-redirect header (if possible) to identify the source of the redirection.

    We hope this helps!

    Plugin Support Milind More

    (@milindmore22)

    @neotrope As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

    Thread Starter neotrope

    (@neotrope)

    Thank you. The issue turned out to be a duplicated redirect for retired AMP location in both an htaccess file outside the sub folder where wordpress installed and redirect plugin.

    Resolved 🙂

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

The topic ‘Weird WP redirect error post delete AMP plugin’ is closed to new replies.