100微信红包求解决WordPress伪静态iis6.0
系统是win2003,WordPress4.4版本不要跟我说换系统哦,经历过的大佬留qq或私信我,一定要经历过的,省时省力
本帖最后由 阿威 于 2017-5-9 19:49 编辑
帮你到这了,善用搜索引擎
IIS环境下配置Rewrite规则:http://faq.comsenz.com/viewnews-11
IIS wordpress 伪静态规则:(https://www.wpdaxue.com/wordpress-rewriterule.html)
新建一个 txt 文件,将下面的代码添加到文件中,然后另存为 httpd.ini 文件,上传到WordPress站点的根目录:
[*]
[*]
[*]# Defend your computer from some worm attacks
[*]#RewriteRule .*(?:global.asa|default\.ida|root\.exe|\.\.).* .
[*]# 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
[*]
[*]RewriteRule /tag/(.*) /index\.php\?tag=$1
[*]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 复制代码
yc010tyc010tyc010tyc010t 换系统 哈哈 !! win的我不懂
楼下dalao来
帮顶 好简单的事情,居然要花100RMB 真心简单啊,半价给做了啊,不要这么多
skynet 发表于 2017-5-9 19:40
好简单的事情,居然要花100RMB
看似简单,实际问题很多,我打算放弃用动态算了,只能说WordPress就是垃圾,说好的一般都是崇洋媚外的小菜鸟 不熟悉win服务器系统,帮顶
跑PHP linux那么好,非得折腾自己用windows 我记得 WP 占了 互联网 24%+ 以上的网站
doing 发表于 2017-5-9 19:46
看似简单,实际问题很多,我打算放弃用动态算了,只能说WordPress就是垃圾,说好的一般都是崇洋媚外的小 ...
你咋不说IIS 和windows是垃圾 ?
页:
[1]