2013-03-07 63 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" />