WordPress&x2B;IIS显示404 for archives页面,带有自定义永久链接/%category%/%postname%/
我需要帮助 我有WordPress 4.0和Microsoft IIS/7.5以及permalinks的自定义结构:WordPress&x2B;IIS显示404 for archives页面,带有自定义永久链接/%category%/%postname%/,wordpress,iis,web-config,categories,permalinks,Wordpress,Iis,Web Config,Categories,Permalinks,我需要帮助 我有WordPress 4.0和Microsoft IIS/7.5以及permalinks的自定义结构:/%category%/%postname%/ 我的web.config <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules>
/%category%/%postname%/
我的web.config
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="WordPress Rule" stopProcessing="true">
<match url=".*"/>
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
</conditions>
<action type="Rewrite" url="index.php?page_id={R:0}"/>
</rule>
<rule name="wordpress" patternSyntax="Wildcard">
<match url="*"/>
<conditions>
<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>
网站在博客页面上也有“档案”栏。链接有这样一种格式2014/04/
,但这不起作用。我得到了404个错误
请告诉我这里怎么了
谢谢
http://example.com/pageurl/
http://example.com/posturl/
http://example.com/blog/
http://example.com/news/porsturl/
http://example.com/articles/porsturl/
http://example.com/category/articles/
http://example.com/category/articles/page/3/