Forum Replies Created

Viewing 1 replies (of 1 total)
  • Forum: Fixing WordPress
    In reply to: lighttpd support?
    donpdonp

    (@donpdonp)

    simple rewrite rule for getting permalinks of the form:
    /%year%/%monthnum%/%day%/%postname%/
    working with lighttpd.

    /etc/lighttpd.conf:
    url.rewrite = ( “^(/[0-9]{4}/.*)” => “/index.php/$1” )

    it picks up on the /2006/… and makes it /index.php/2006/….
    it should probably look for the month and day to be extra-sure, but this works well enough.

Viewing 1 replies (of 1 total)