Hide File Extensions In Browsers Using .htaccess

Many of us programmers want to hide the file extension of server files such as .php, .jsp, .py etc…. You can easily hide these extensions with the help of a .htaccess file. This feature is only available to Apache servers. Create a file named .htaccess if your root directory of site doesn’t have one. Add these lines to the .htaccess file : <span style="