• I am running WordPress Multisite on Ubuntu. I think my .htaccess file is screwed up due to trying to get a new migrated server to work correctly. The sites are working however the error.log is huge.

    I was wondering if something is glaringly wrong with this .htaccess

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    RewriteCond %{HTTPS}  !=on
    RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
Viewing 1 replies (of 1 total)
  • Thread Starter plarkin

    (@plarkin)

    The persistent error in my log is:

    Tue Mar 17 06:25:44.005300 2020] [core:error] [pid 19078] [client X.X.X.X:52510] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    
Viewing 1 replies (of 1 total)
  • The topic ‘Redirect errors filling error.log’ is closed to new replies.