在win主机下wordpress程序伪静态文件web.config-wordpress&系统-0660BBS_0660bbs

在win主机下wordpress程序伪静态文件web.config

admin123 2019-4-18 4227

在win主机下wordpress程序伪静态文件web.config。

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
    <rewrite>
      <rules>
<rule name="WordPress: http://www.logoyuan.com" 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>


最新回复 (0)
全部楼主
返回