On web servers running the Apache Web Server software the .htaccess configuration file can be placed. .htaccess is an abbreviation for Hyper Text access. When this file is placed the Apache Web Server will detect and execute the commands in this file. This file can be used to:
There are other additional functions that the .htaccess file can be coded to perform. The name of the file cannot be changed or an extension added to it. In case you change the name or save it with an extension and upload it; it will not be recognized. If you have used a Content Management System like Drupal, Joomla or WordPress you might have encountered this file. You might also have edited it. Some web servers do not allow you to edit it. But you can create your own file and upload it to specific directories.