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