• Home
  • Create Plugins
  • Contact Us
  • Demo
    Installation & MaintenancePersonalizationSettingsClient ManagementInvoices & PaymentsProjects & TasksTeam & CollaborationProductivity ToolsSales & ServicesPluginsFAQChange logs
  1. Docs
  2. FAQ

Remove index.php from site URL

To remove the index.php from the url, please change the config in \app\Config\App.php line#95 & 114 (Line number could be different based on your changes).

public $indexPage = '';

public $uriProtocol = 'PATH_INFO';

Add a .htaccess file in your server root where you've installed the RISE. 

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

File structure should be like this:
├── .htaccess
├── index.php
├── /app

Note: The  mod_rewrite should be enabled on the apache. 



If you are using nginx, instead of .htaccess file, please use this: 

location / {
  if (!-e $request_filename){
    rewrite ^(.*)$ /index.php/$1 break;
  }
}


Check more details here: 
https://codeigniter.com/user_guide/general/urls.html
Was this article helpful? Yes No
How can we improve this article?
© 2026 Fairsketch
Home 3rd Party Plugins Get Support Buy Now

Delete?

Are you sure? You won't be able to undo this action!
To do