RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
In the browser, when I goto, localhost/fest/, the index.php loads automatically and the URL in the browser stays localhost/fest/.
But when I click any link in index.php, say for example, Two, URL in the browser turns to localhost/fest/two.php
How can I hide the URL even after user clicking a link. I am using xampp 3.2.2, Apache 2.4, PHP Version 5.x.x. OverRide is allowed.