WordPress 程序在 IIS 环境下伪静态配置文件

2017 年 2 月 12 日 2276 点热度 0 人点赞 1 条评论

 

 

下载后放入网站根目录,重启 IIS 即可!

[ISAPI_Rewrite]
# Defend your computer from some worm attacks
#RewriteRule .*(?:global.asa|default.ida|root.exe|..).* . [F,I,O]
# 3600 = 1 hour</p> <p>CacheClockRate 3600
RepeatLimit 32</p> <p># Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
# Rules to ensure that normal content gets through</p> <p>RewriteRule /tag/(.*) /index.php?tag=$1
RewriteRule /software-files/(.*) /software-files/$1 [L]
RewriteRule /images/(.*) /images/$1 [L]
RewriteRule /sitemap.xml /sitemap.xml [L]
RewriteRule /favicon.ico /favicon.ico [L]
# For file-based wordpress content (i.e. theme), admin, etc.
RewriteRule /wp-(.*) /wp-$1 [L]
# For normal wordpress content, via index.php
RewriteRule ^/$ /index.php [L]
RewriteRule /(.*) /index.php/$1 [L]

本站启用的固定架构为: /archives/%post_id%.html

提取密码:vv234

[ypbtn]https://eyun.baidu.com/s/3bpmXr8j[/ypbtn]

Gcod

人生若只如初见,何事秋风悲画扇

文章评论

  • 情醉中国风

    来逛逛

    2017 年 2 月 19 日