The SaaS module removes ‘index.php’ from the URL after installation.
Apache
For the Apache server, you do not have to perform any special action as the module will put in place a .htaccess file in your root folder if not exist.
However, if you are already using .htaccess in your RISE installation folder, ensure it contains the following:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
NGINX
Under NGINX, you can define a location block and use the try_files
directive to get the same effect as we did with the above Apache configuration:
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
Follow this link to read more: https://codeigniter.com/user_guide/general/urls.html