全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 3579|回复: 20

100微信红包求解决WordPress伪静态iis6.0

[复制链接]
发表于 2017-5-9 19:27:07 | 显示全部楼层 |阅读模式
系统是win2003,WordPress4.4版本

不要跟我说换系统哦,经历过的大佬留qq或私信我,一定要经历过的,省时省力




发表于 2017-5-9 19:34:50 | 显示全部楼层
本帖最后由 阿威 于 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站点的根目录:

  1. [ISAPI_Rewrite]
  2. # Defend your computer from some worm attacks
  3. #RewriteRule .*(?:global.asa|default\.ida|root\.exe|\.\.).* . [F,I,O]
  4. # 3600 = 1 hour

  5. CacheClockRate 3600
  6. RepeatLimit 32

  7. # Protect httpd.ini and httpd.parse.errors files
  8. # from accessing through HTTP
  9. # Rules to ensure that normal content gets through

  10. RewriteRule /tag/(.*) /index\.php\?tag=$1
  11. RewriteRule /software-files/(.*) /software-files/$1 [L]
  12. RewriteRule /images/(.*) /images/$1 [L]
  13. RewriteRule /sitemap.xml /sitemap.xml [L]
  14. RewriteRule /favicon.ico /favicon.ico [L]
  15. # For file-based wordpress content (i.e. theme), admin, etc.
  16. RewriteRule /wp-(.*) /wp-$1 [L]
  17. # For normal wordpress content, via index.php
  18. RewriteRule ^/$ /index.php [L]
  19. RewriteRule /(.*) /index.php/$1 [L]
复制代码


点评

现在看见这篇转载的文章就来气,全网都是  发表于 2017-5-9 19:43
发表于 2017-5-9 19:29:30 | 显示全部楼层
yc010tyc010tyc010tyc010t   换系统 哈哈 !!   win的我不懂  
楼下dalao来

帮顶
发表于 2017-5-9 19:32:13 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2017-5-9 19:40:48 | 显示全部楼层
好简单的事情,居然要花100RMB
发表于 2017-5-9 19:43:22 来自手机 | 显示全部楼层
真心简单啊,半价给做了啊,不要这么多
 楼主| 发表于 2017-5-9 19:46:22 | 显示全部楼层
skynet 发表于 2017-5-9 19:40
好简单的事情,居然要花100RMB

看似简单,实际问题很多,我打算放弃用动态算了,只能说WordPress就是垃圾,说好的一般都是崇洋媚外的小菜鸟
发表于 2017-5-9 19:56:33 | 显示全部楼层
不熟悉win服务器系统,帮顶
跑PHP linux那么好,非得折腾自己用windows
发表于 2017-5-9 19:56:38 | 显示全部楼层
我记得 WP 占了 互联网 24%+ 以上的网站
发表于 2017-5-9 19:58:03 | 显示全部楼层
doing 发表于 2017-5-9 19:46
看似简单,实际问题很多,我打算放弃用动态算了,只能说WordPress就是垃圾,说好的一般都是崇洋媚外的小 ...

你咋不说IIS 和windows是垃圾 ?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-24 19:19 , Processed in 0.091737 second(s), 17 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表