Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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;

Add:

 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, enable last option under "SEO URLs settings".
Save changes


  • No labels