运行在 IIS 上的 wordpress 重写设置.(wordpress rewrite .htaccess to web.config) 发表于2012-09-26由jgh004 回复 XHTML <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <directoryBrowse enabled="false" /> <defaultDocument> <files> <clear /> <add value="index.php" /> <add value="Default.aspx" /> <add value="Default.htm" /> <add value="Default.html" /> <add value="Default.asp" /> <add value="index.pl" /> <add value="index.htm" /> <add value="index.html" /> </files> </defaultDocument> <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"… 阅读全文