Win+IIS主机wordpress子目录伪静态规则完美版httpd.ini完整文件

Win+IIS主机wordpress子目录伪静态规则完美版httpd.ini完整文件

4 7 月, 2011 阅读 5859 字数 900 评论 4 喜欢 0

[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600 RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP # wordpress

#解决xmlrpc.php无法访问导致的404错误
 RewriteRule /blog/xmlrpc.php  /blog/xmlrpc.php [L]
 
# For sitemapxml RewriteRule /sitemap.xml /sitemap.xml [L]
RewriteRule /favicon.ico /favicon.ico [L]

# For tag RewriteRule /tag/(.*)/page/(d+)$ /index.php?tag=$1&paged=$2
RewriteRule /blog/tag/(.+)$ /blog/index.php?tag=$1

# For category RewriteRule /blog/category/(.*)/page/(d+)$ /blog/index.php?category_name=$1&paged=$2
RewriteRule /blog/category/(.*) /blog/index.php?category_name=$1

# For file-based wordpress content (i.e. theme), admin, etc.
RewriteRule /blog/wp-(.*) /blog/wp-$1 [L]
# For normal wordpress content, via index.php
# RewriteRule ^/blog/$ /blog/index.php [L]
RewriteRule /blog/(.*) /blog/index.php/$1 [L]
#分页查看文章
 RewriteRule /blog/page/(.*)/?s=(.*) /blog/index.php?s=$2&paged=$1
 RewriteRule /blog/page/(.*) /blog/index.php?paged=$1
 
 

评论列表

  1. seoyoy说道:

    呵呵 不错 真的实现了 谢谢了

    http://seo.seoyoy.com 你看看

  2. 菜根谭说道:

    高清版的也太大了吧,让人无语啊..

  3. Bobo&Momo说道:

    呵呵……
    我看的高清版 3.25GB
    还凑合……

    1. godor说道:

      嗯 是个黄片ne!

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注