wholesale jerseys nba jersey discounts ncaa college jerseys nfl cheap jerseys with free shipping nfl authentic football jerseys new york giants apparel cheap wholesale jerseys

Lighttpd rewrite rules for WordPress sites

Rewrite rules compatible with WordPress permalinks:

# Handle 404 errors
server.error-handler-404 = "/index.php"
# Rewrite rules
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",
# Handle permalinks and RSS feeds
"^/(.*)$" => "/index.php/$1"


make a comment