Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

About this user

Jacob Stetser http://blog.unquiet.net/

« Newer Snippets
Older Snippets »
1 total  XML / RSS feed 

Wordpress clean URLS with Lighttpd, the E-Z way

This single line seems to work for my WP install. I needed to add a couple of redirects and rewrites to handle my RSS feed, since I use Feedburner, but this line does all the heavy lifting...

Place it after server.document-root, either in the main section or in your virtual host sub-sections...

server.error-handler-404 = "/index.php?error=404"


« Newer Snippets
Older Snippets »
1 total  XML / RSS feed