PHP错误:请求超过了10个内部重定向的上限,由于可能配置错误

问题描述:

我有一个奇怪的bug-我在网站上的WP引擎存储的工作,而且我用的git的工作。每次我混帐推到现场,后推是终点,网站内页的无法访问由于500内部服务器错误。只需保存固定链接设置页面即可解决此问题(无需更改任何内容)。当该网站没有生存时,这并不是什么大不了的事情。然而,现在作为网站生活,我必须解决这个问题,但我找不到这个错误。 我已经停用分期所有插件,它并没有帮助。错误日志说: 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: http://the-site.comPHP错误:请求超过了10个内部重定向的上限,由于可能配置错误

任何想法是什么原因?

在此先感谢!

我通过管理变革来解决这个从这个.htaccess文件:

# BEGIN WordPress 

<IfModule mod_rewrite.c> 
RewriteEngine On 
RewriteBase /project-name/ 
RewriteRule ^index\.php$ - [L] 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule . /project-name/index.php [L] 
</IfModule> 

# END WordPress 

要这样:

# BEGIN WordPress 

RewriteEngine On 
RewriteBase/
RewriteRule ^index\.php$ - [L] 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule . /index.php [L] 

# END WordPress