随着主机服务器的发展,很多空间商都把服务器升级到IIS6以上了,所以原来的IIS6伪静态的方法已经无法适用emlog博客的伪静态。
将下面的内容复制到记事本,保存为web.config放到网站根目录下。

<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="emlog 5.0.1 for IIS7.5" stopProcessing="true"> <match url="." ignoreCase="false" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> </conditions> <action type="Rewrite" url="/index.php" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
您可以选择以下一种方式打赏本站
支付宝扫一扫打赏