Skip to content

Instantly share code, notes, and snippets.

View vanbess's full-sized avatar
🏠
Working from home

Werner Bessinger vanbess

🏠
Working from home
View GitHub Profile
@vanbess
vanbess / wordpress-multisite-internal-redirect-loop.md
Created July 14, 2022 19:59 — forked from JustThomas/wordpress-multisite-internal-redirect-loop.md
WordPress Multisite: How to fix error "too many redirects"

WordPress Multisite: How to fix error "Request exceeded the limit of 10 internal redirects"

I am running a WordPress multisite network with sub-directory setup. When I check my error.log file, it is full of entries like this one:

Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'Limit InternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

The problem was, in my case, one specific rewrite rule in the .htaccess file.

Problem description