我有IIS7的[Windows服务器2008 R2]我的WP网站;已经探索了很多找到合适的解决办法,但没有奏效:(WordPress的永久链接漂亮重定向到主页上IIS7
添加下面的代码在根
<?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>
</rules>
</rewrite>
</system.webServer>
</configuration>
的web.config,但仍然没有奏效
我的网址正在被改写,但被重定向到坎epage而不是single.php和其他页面(即index.php而不是single.php)
已经检查了服务器的“FCGI”和“URL重写模块”,两者都已安装。
在这方面的任何帮助将不胜感激。