• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

SEO Friendly URL with Lighttpd

#1
To use the friendly SEO URLs with lighttpd add the following to url rewrite your configuration:

Code:
        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 :)