WordPress 伪静态规则,IIS下httpd.ini代码

前端之家收集整理的这篇文章主要介绍了WordPress 伪静态规则,IIS下httpd.ini代码前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

wordpress 伪静态规则,IIS下httpd.ini代码

一个httpd.ini文件 ,里面写入代码

[ISAPI_Rewrite]

# 3600 = 1 hour

CacheClockRate 3600

RepeatLimit 32

# 解决中文tag问题

RewriteRule /tag/(.*) /index.PHP?tag=$1

# sitemapxml

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]

本人测试完全ok tag可以中文化 目录可以, 所有的完全可以。目前最完美的方法。不象有的要不支持文章,就不支持tag了

猜你在找的wordpress相关文章