2013-03-07 62 views
0

請檢查sfveinaesthetics.com/index.php打開,但http://sfveinaesthetics.com/不.. ..它是一個wordpress站點在iis7服務器。重定向問題在webconfig文件

內頁的工作http://sfveinaesthetics.com/about-us/很好..

請得到解決我儘快.. web配置是一樣

<system.webServer> 
    <rewrite> 
     <rules> 
      <rule name="Main Rule" stopProcessing="true"> 
       <match url=".*" /> 
       <conditions logicalGrouping="MatchAll"> 
        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> 
        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> 
       </conditions> 
       <action type="Rewrite" url="index.php/{R:0}" /> 
      </rule> 
     </rules> 
    </rewrite> 
</system.webServer> 

回答

0

不知道是否是造成問題,但默認重寫規則對於Wordpress,在重寫操作中不包含/{R:0}部分。通常是:

<action type="Rewrite" url="index.php" />