wordpress在windows主机下伪静态规则
    文章作者:恒爱网络 阅读次数:6367 发布时间:2013-4-16
    [ISAPI_Rewrite] 
    # 3600 = 1 hour 
    CacheClockRate 3600
    RepeatLimit 32
    # Protect httpd.ini and httpd.parse.errors files 
    # from accessing through HTTP 
    
    RewriteRule /software-files/(.*) /software-files/$1 [L] 
    RewriteRule /images/(.*) /images/$1 [L] 
    RewriteRule /sitemap.xml /sitemap.xml [L] 
    RewriteRule /favicon.ico /favicon.ico [L] 
    # For file-based wordpress content (i.e. theme), admin, etc. 
    RewriteRule /wp-(.*) /wp-$1 [L] 
    # For normal wordpress content, via index.php 
    RewriteRule ^/$ /index.php [L] 
    RewriteRule /(.*) /index.php/$1 [L]

    将以上规则保存为 httpd.ini 放到空间根目录下,然后到Wordpress后台设置—固定链接—自定义结构:常用的设置里填  /%post_id%.html 

    这样就可以了。当然需要配置 ISAP_rewrite 映射后才能生效。如果是我司空间,你不会配置,可以联系客服为你处理。