How To Hide Php In Url

[Solved] How To Hide Php In Url | Csharp - Code Explorer | yomemimo.com
Question : how to hide .php in url

Answered by : mukash-wasti

//Add this you .htaccess
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.+)$ /$1.php [L,QSA]

Source : https://stackoverflow.com/questions/5831683/how-to-hide-php-from-address-bar | Last Update : Mon, 14 Feb 22

Answers related to how to hide php in url

Code Explorer Popular Question For Csharp