Tutorials SEO Friendly URL with Lighttpd !!

Marks-Man

Administrator
Joined: Mar 15, 2021
Messages: 985
Resources: 402
Points: 93
Reaction score: 870
Using friendly SEO URLs with lighttpd add the following to url rewrite your configuration:

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

Also make sure to load the mod_rewrite module.
 

Marks-Man

Administrator
Joined: Mar 15, 2021
Messages: 985
Resources: 402
Points: 93
Reaction score: 870
Using friendly SEO URLs with lighttpd add the following to url rewrite your configuration:



Also make sure to load the mod_rewrite module.
Error with rewriting (Push Notifications not working):
url.rewrite-if-not-file = (

"^/(data|install|internal_data|js|library|styles)/(.*)$" => "$0",
"^/(.*\.php)(.*)$" => "$0",
"^/.*(\?.*)" => "/index.php$1",
"" => "/index.php"
)
 
  • Tags
    2.2.x friendly lighttpd seo xenforo
  • Top