2014-12-28 30 views
-1

我只是遷移我的wordpress網站到Windows Server 2008的運行在IIS 7的WordPress遷移到Windows Server原因重定向循環主頁

遷移工作得很好,所有的網頁顯示,除了主頁是造成無限的重定向罰款循環。

這裏是主頁(其中重定向環路):this is not a link

this is not a link頁面正常工作:

我曾嘗試以下,但無濟於事:

1)我已經重新 - 在wordpress上保存了我的固定鏈接,這沒有幫助。

2)我已經加入了wp-config.php文件:

define('WP_HOME','http://www.aalphayellowcab.net'); 
define('WP_SITEURL','http://www.aalphayellowcab.net'); 

我還補充說:

define('ADMIN_COOKIE_PATH', '/'); 
/** define('COOKIE_DOMAIN', ''); **/ 
define('COOKIEPATH', ''); 
define('SITECOOKIEPATH', ''); 

3)然後我加入這個規則web.config文件(Windows不使用.htaccess文件):

<rule name="Redirect to WWW" stopProcessing="true"> 
    <match url=".*" /> 
    <conditions> 
     <add input="{HTTP_HOST}" pattern="^aalphayellowcab.net$" /> 
     </conditions> 
     <action type="Redirect" url="http://www.aalphayellowcab.net/{R:0}" redirectType="Permanent" /> 
</rule> 

似乎沒有什麼工作,有沒有什麼我可以做的寫過程?我能做些什麼來解決這個問題?我想也許有另一個PHP文件導致這一點。

由於提前,

路易

回答

相關問題