wordpress在IIS7.5下的URL2.0伪静态规则

wordpress在IIS7.5下的URL2.0伪静态规则:

<rewrite>      <rules> <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>

把以上代码加入到web.config的</system.webServer></configuration>之前。

Comments

No comments yet. Why don’t you start the discussion?

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注