Support » Fixing WordPress » ERR_TOO_MANY_REDIRECTS on Home Page after upgrade….

  • Resolved thinkDrew

    (@thinkdrew)


    I am also now receiving this error upon updating today… If I set the permalinks to “Plain” everything works fine (obviously not a fix) and when I try to convert my permalinks back to custom or something else, I get the ERR_TOO_MANY_REDIRECTS on my home page ONLY. The rest of the website works fine.

    STEPS

    • Upgraded to latest version of wordpress 4.8.3
    • After upgrade, home page throws ERR_TOO_MANY_REDIRECTS
    • Changing permalinks to “Plain” fixes the problem but not a solution
    • Changing permalinks back to custom structure or any other, reintroduces the ERR_TOO_MANY_REDIRECTS
    • I do not have any redirection plugin installed.
    • I have cleared cache.
    • Reset/Flushed permalinks.
    • Un activated all plugins.
    • Switched over to TwentySeventeen theme.
    • Site URL’s are the same.
    • Database URL’s are the same.

    What is going on here??? I have literally tried every little implementation mentioned throughout many Google searches but nothing works.

    Server: IIS 7 – There has to be someone on here who works within IIS, I cannot be the only one in the entire world running wordpress on IIS and having issues..

Viewing 1 replies (of 1 total)
  • thinkDrew

    (@thinkdrew)

    FIXED
    For users who are encountering this error after upgrading, this remove_filter will be your best friend.

    Add to your functions.php

    remove_filter('template_redirect','redirect_canonical');

    I am not sure why this workaround has to be implemented and I am sure that this can be done on the server level to prevent such errors in the future. Just confusing as I have never encountered this before while working on one of the dozens of sites I run.

    Happy Endings!

    • This reply was modified 2 years ago by thinkDrew.
Viewing 1 replies (of 1 total)
  • The topic ‘ERR_TOO_MANY_REDIRECTS on Home Page after upgrade….’ is closed to new replies.