WordPress MultiSite infinite redirect

WordPress MultiSite infinite redirect 1

I was recently setting up a WordPress MultiSite to use subdirectories. All looked good until I tried to visit a newly created site on the network. It was just an infinite look of redirects. 

The how behind why this is happening is explained really well in Tom McFarlin’s post here: https://tommcfarlin.com/resolving-the-wordpress-multisite-redirect-loop/ 

Basically, WordPress gets tied in a knot about where to look for what. 

The fix is actually quite simple Go to your .htaccess file and replace everything between “# BEGIN WordPress” and “# END WordPress”


View this gist on GitHub

And there you go 

Related Posts

We use cookies to provide you with the best possible experience. Learn More


You can change your preferences at anytime by going to our Privacy Policy page.