A .htaccess (hypertext access) file is a directory-level configuration file that allows for decentralized management of web server configuration. Servers often use .htaccess to rewrite URLs. Rewrite Hostname