Categories
Tech

WordPress 4.4.1 Redirect Loop

You notice you receive one of the following errors whilst trying to browse to the home page of one of your WordPress sites after updating to 4.4.1:

ERR_TOO_MANY_REDIRECTS

This webpage has a redirect loop

This page isn’t redirecting properly

I saw this on one of the WordPress sites I manage for a local takeaway. The problem occurred after the update to 4.4.1 and had me stumped.

All other pages would load but not the static homepage. Changing the permalink structure to plain (post-id) fixed the problem but changing it back to postname made the problem reappear.

Interestingly, if I browsed http://homepage/index.php or http://homepage// (yes, a double slash) the home page would load up just fine. Weird. I’m sure a .htaccess rule would fix this but I didn’t delve in to this.

The solution?

Simple. Check your WordPress address and Site Address in Settings –> General.

Ensure they’re both lower cased and not mixed. Don’t ask me why or how this works because I have no idea.