$HTTP["host"] == "www.site.com" {
url.rewrite-final = (
# Exclude some directories from rewriting
"^/(wp-admin|wp-includes|wp-content|gallery2)/(.*)" => "$0",
# Exclude .php files at root from rewriting
"^/(.*.php)" => "$0",
"^/sitemap.xml" => "$0" ,
# Handle permalinks and feeds
"^/(.*)$" => "/index.php/$1"
)
}
沒有留言:
張貼留言