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?>
1RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
2
3RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]
4