Symptoms
-
Simple redirect to
index.php
does not work inside/var/www/vhosts/example.com/httpdocs/folder/.htaccess
:RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L] -
http://example.com/folder shows
404 Not Found
-
Domain log shows the following error:
[core:error] [pid 6919:tid 139826242234112] [client *****:50002] 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., referer: https://example.com/wp-admin/
-
The following error may appear while trying to repair the affected domain:
DEBUG [panel] Template_Exception:
AH00526: Syntax error on line 158 of
/etc/apache2/plesk.conf.d/vhosts/example.com.conf:
Regex could not be compiled
Cause
Plesk bug with ID #EXTWPTOOLK-5009. The fix has been issued in WP Toolkit 4.8.2 version.
Resolution:
Update WP Toolkit to version 4.8.2 to fix the issue:
- Home > Extensions > Updates > Check now.
- Select WP Toolkit and click Update
- Previously disabled security measures can be now enabled back. Home > WP Toolkit > Installation Tab > Security > Select All instances > Secure> check options “Enable hotlink protection”, “Block authors scan” and “Enable bot protection” and click “Secure”.