Setting Up User Friendly URLs

Notice


In case you have more than one application installation, you must repeat the instructions below for each application.



Apache / LiteSpeed


Create a file called .htaccess and add the following code to it:

Code: .htaccess
  1. <IfModule mod_rewrite.c>
  2. RewriteEngine On
  3. RewriteCond %{REQUEST_FILENAME} !-f
  4. RewriteCond %{REQUEST_FILENAME} !-d
  5. RewriteRule ^(.*)$ index.php?$1 [L,QSA]
  6. </IfModule>

Upload the file to the main directory of your Burning Board installation.



nginx


Edit the site/vhost configuration and insert the following code. Please adjust the path /wbb (line 1 and 4) to match the installation directory.

Code
  1. location /wbb/ {
  2. index index.php;
  3. try_files $uri $uri/ /wbb/index.php?$uri&$args;
  4. }


IIS 7.5 or higher


Create a file called web.config and the following code to it:

Upload the file to the main directory of your Burning Board installation.