H、 我在IIS7上安装了wp。5机器。但是,当我的永久链接设置为line时,我出现了错误:/%year%/%monthnum%/%day%/%postname%/
问题是索引页(根页/)出现404错误(EDIT: error is in a wordpress page, not server default page). 但当permalink是默认值或/索引时,我不会得到404。php/%年%/%月%/%日%/%postname%/
可在此处查看网站:http://marmarabote.innovacube.com/
我还重写了web中的URL。类似配置:
<?xml version="1.0"?>
<configuration>
<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" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>