Enable SEO URLs on Enterprise Platform


On newer installations configuration steps  1-5 below are not needed, you can proceed to step 6 and enable it in admin UI.

To enable SEO urls on HostBill installed using Enterprise Installer:

1. Login to HostBill server using SSH
2. Create file:

touch /etc/nginx/locations/seo-urls.conf

3. Add following contents to this file:

location @seohburl {
rewrite ^/(.+)$ /index.php?/$1 last;

4. Edit file:

 vi /etc/nginx/locations/hostbill.conf

After line:

 index index.php;


 try_files $uri $uri/ @seohburl; 

5. Restart webserver

 service nginx restart && service php-fpm restart

6. Login to your HostBill admin area, proceed to Settings → Other → Security & Display, enable last option under SEO URLs settings.