设为首页 - 加入收藏
广告 1000x90
您的当前位置:主页 > 网站运营 > 正文

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

来源:网络分享 编辑:引流技巧 时间:2026-01-26

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

  1.安装ISAPI_Rewrite

  伪静态组件包

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

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

  [ISAPI_Rewrite]

  # 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 [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]

相关推荐:

栏目分类

微商引流技巧网 www.yinliujiqiao.com 联系QQ:1716014443 邮箱:1716014443@qq.com

Copyright © 2019-2024 强大传媒 吉ICP备19000289号-9 网站地图 rss地图

Top