|
发表于 2016-6-7 10:07:03
|
查看: 881 |
回复: 1
将一下代码复制到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
- RewriteRule /sitemap.xml /sitemap.xml [L]
- RewriteRule /favicon.ico /favicon.ico [L]
- # For file-based <a href="http://www.iamlisen.com/tag/wordpress/" title="查看更多关于wordpress的文章" target="_blank">wordpress</a> content (i.e. theme), admin, etc.
- RewriteRule /wp-(.*) /wp-$1 [L]
- # For normal <a href="http://www.iamlisen.com/tag/wordpress/" title="查看更多关于wordpress的文章" target="_blank">wordpress</a> content, via index.php
- RewriteRule ^/$ /index.php [L]
- RewriteRule /(.*) /index.php/$1 [L]
复制代码
|
|