在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]
評論(0人參與,0條評論)
發布評論
最新評論