Support » Fixing WordPress » Lighttpd Permalinks HELP

  • Resolved zxb2

    (@zxb2)


    I installed lighttpd, and I can’t get WordPress to function correctly. Permalinks work fine but everything on the page is broken (CSS, images) and I can’t access subdirectories like /forums/ on the site because it shoots me to the default WP error page.

    Here’s my config:

    $HTTP[“host”] =~ “^domain\.com$” {
    server.document-root = “/srv/www/lighttpd/domain.com/http”
    url.rewrite-once = (
    “^/(wp-.*)$” => “$1”,
    “^/([_0-9a-zA-Z-]+/)?(wp-.*)” => “$2”,
    “^/([_0-9a-zA-Z-]+/)?(.*\.php)$” => “$2”,
    “.” => “index.php”
    )
    }

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Lighttpd Permalinks HELP’ is closed to new replies.