TECHIES WORLD

For Techs.... Techniques.... Technologies....

LinuxPython

How to hide index.php from domain url

This can be achieved by configuring rules in htaccess.

RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://domain/$1 [R=301,L]

Where 'domain' is the domain name.

 

Leave a Reply