2016-12-04 25 views
-1

我有一個奇怪的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個內部重定向的上限,由於可能配置錯誤

任何想法是什麼原因?

在此先感謝!

回答

0

我通過管理變革來解決這個從這個.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 
相關問題