".htaccess" is the name of a computer file on the Apache web server, configuring settings like which URLs lead to where, which directories are browsing-enabled, or which pages are password-protected. The htaccess file is also a tool for search engine optimization, making it possible to create plain URLs. With .htaccess you can specify custom error pages.