Tag Archive for 'pretty permalinks'

First post and LighTTPd

This is my first post on this blog. Let’s see how this goes.

Found lots of stuff on the web about getting Pretty Permalinks working  with WordPress and LighTTPd, but they were all very complicated…

So I just wrote my own configuration:

$HTTP["host"] =~ "^smux\.net$" {
  url.rewrite-once = (
    "^/blog/(wp-.*)$" => "/blog/$1",
    "^/blog/(.*)$" => "/blog/index.php?$1"
  )
}

Then, select “/%year%/%monthnum%/%day%/%postname%/” as the Permalink custom structure, and you’re done… Simple.