URL Rewriting with Lighttpd
A plea for help:
http://www.adventuresinparenting.org/favicon.ico shows WordPress’s custom 404 page, but I actually want it to get the (currently blank) favicon.ico file that I’ve placed in that directory.
I’m using custom URL rewriting with lighttpd (not mod_rewrite). Here’s my lighttpd.conf:
### Generated by Dreamhost
### WordPress: http://www.adventuresinparenting.org
url.rewrite += (
“^/(wp-.+).*/?” => “$0”,
“^/(blog).*/?” => “$0”,
“^/(.*.php)” => “$0”,
“^/(.*.pdf)” => “$0”,
“^/(.*.png)” => “$0”,
“^/(.*.html)” => “$0”,
“^/(.*.ico)” => “$0”,
“^/(.*.gif)” => “$0”,
“^/(.*.txt)” => “$0”,
“^/(images).*/?” => “$0”,
“^/(sitemap.xml)” => “$0”,
“^/(xmlrpc.php)” => “$0”,
“^/(.+)/?$” => “/index.php/$1”
)
Any ideas?
Leave a Reply