云码酷 发表于 2018-4-27 21:11:32

【伪静态】IIS6伪静态配置(wordpress固定链接)

  在Win2003+IIS6环境下支持WordPress的固定连接

  1.安装ISAPI_Rewrite

  伪静态组件包

  http://pan.baidu.com/s/1jGG5YRG

  2.在网站根目录新建文件httpd.ini,输入以下内容并保存:

  

  # 3600 = 1 hour

  CacheClockRate 3600

  RepeatLimit 32

  # Protect httpd.ini and httpd.parse.errors files

  # from accessing through HTTP

  # Rules to ensure that normal content gets through?0?2

  RewriteRule /software-files/(.*) /software-files/$1

  RewriteRule /images/(.*) /images/$1

  RewriteRule /sitemap.xml /sitemap.xml

  RewriteRule /favicon.ico /favicon.ico

  # For file-based wordpress content (i.e. theme), admin, etc.

  RewriteRule /wp-(.*) /wp-$1

  # For normal wordpress content, via index.php

  RewriteRule ^/$ /index.php

  RewriteRule /(.*) /index.php/$1

v0vm 发表于 2018-4-27 22:17:30

楼主呀,,,您太有才了。。。

帅到无边 发表于 2018-4-27 23:00:24

支持支持再支持
页: [1]
查看完整版本: 【伪静态】IIS6伪静态配置(wordpress固定链接)