After the upgrade of my Ubuntu server, I tried open my wordpress website and I got this error in my error.log
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.
message a get when i open the website.
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
I tried these 2 links bellow but my .htaccess is diferent so did not work.
Apache 2.4 - Request exceeded the limit of 10 internal redirects due to probable configuration error
Request exceeded the limit of 10 internal redirects due to probable configuration error.?
.htaccess /root
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
.htaccess /blog
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
# END WordPres
apache:
Server version: Apache/2.4.18 (Ubuntu)
someone know how to solve this?
thank you.
was no php module for apache, and apache was interpreting php as a text.
to solve this i did:
apt-get install libapache2-mod-php
/etc/init.d/apache2 restart
apt-get install php7.0-mysql
/etc/init.d/apache2 restart