Redirect all request to index.php using .htaccess file.
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php?$1 [L]
URI value after root folder will be set as SCRIPT_URI OR QUERY_STRING.
Leave a Reply