1<?php
2#By default, the index.php file will be included in your URLs:
3
4# Create a .htaccess file in your root folder and paste the below code
5RewriteEngine On
6RewriteCond %{REQUEST_FILENAME} !-f
7RewriteCond %{REQUEST_FILENAME} !-d
8RewriteRule ^(.*)$ index.php/$1 [L]
9?>
1RewriteEngine on
2RewriteCond $1 !^(index\.php|resources|robots\.txt)
3RewriteCond %{REQUEST_FILENAME} !-f
4RewriteCond %{REQUEST_FILENAME} !-d
5RewriteRule ^(.*)$ index.php/$1 [L,QSA]