Skip to content

Instantly share code, notes, and snippets.

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

Justin B PenguinzPlays

🏠
Working from home
View GitHub Profile
@JustThomas
JustThomas / wordpress-multisite-internal-redirect-loop.md
Last active October 9, 2024 00:00
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