I use php to build web applications, but i want my web pages without .php extension in the browser’s address bar. For eample http://www.example.com/index.php shows like http://www.example.com/index in the browser’s address bar.
How can i do this?
Put this in a file named
.htaccessin your WWW-root:This works if you’re running Apache and have mod_rewrite activated.