Remove index.php from the URL using .htaccess

Here is the .htaccess code to Remove index.php from the URL using .htaccess

RewriteEngine On
RewriteBase /
RewriteCond %{THE_REQUEST} index\.php
RewriteRule ^index\.php$ https://www.tutorialshore.com/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index\.php [L]

My Thought

Your email address will not be published. Required fields are marked *

Our Tool : hike percentage calculator