My Computer · 2012/04/05 0

IIS6环境下wordpress的固定链接设置

1.先安装ISAPI_Rewrite3
好像不装也行哈 -_-!

2.在wordpress根目录中建立httpd.ini文件,内容如下:

[ISAPI_Rewrite]
RewriteRule /sitemap.xml /sitemap.xml [L]
RewriteRule /favicon.ico /favicon.ico [L]
RewriteRule /wap(.*) /wap$1 [L]
RewriteRule /content/uploads/(.*) /content/uploads/$1 [L]
RewriteRule /wp-(.*) /wp-$1 [L]
RewriteRule ^/$ /index.php [L]
RewriteRule /(.*) /index.php/$1 [L]

据说在IIS6下中文tag和url或者分类目录链接再或者翻页的时候都会有问题,暂时没遇到这种情况,就不折腾了。。。

在godaddy太辛苦,封锁太厉害,网站几乎都无法访问了,唉~
买了个美国vps,刚用没一会。。。
正常情况下速度还是蛮快的,但是偶尔也会抽风,先用一个月试试吧。

相关文章