XenForo SEO Friendly URL with Lighttpd

isoohub

Registered
Using friendly SEO URLs with lighttpd add the following to url rewrite your configuration:

PHP:
url.rewrite-if-not-file = (
"^/(data|install|internal_data|js|library|styles)/(.*)$" => "$0",
"^/(.*\.php)(.*)$" => "$0",
"^/.*(\?.*)" => "/index.php$1",
"" => "/index.php"
)

Also make sure to load the mod_rewrite module.
knk
 

BadBoy

Registered
question why not used what is written in the xenforo manual?

Lighttpd​

To enable friendly URLs in Lighttpd, ensure that you have the mod_rewrite module loaded and add the following to your server configuration:
Code:
url.rewrite = (
    "^/(data|install|js|styles)/(.*)$" => "$0",
    "^/(.*\.php)(.*)$" => "$0",
    "^/.*(\?.*)" => "/index.php$1",
    "" => "/index.php"
)
 
Back
Top Bottom