.htaccess is a small text file which is located either directly in a domain folder or inside a subfolder to inform the web server how it must handle requests when an Internet site or a folder that's part of it is accessed. A lot of popular scripts including Joomla™ and WordPress use an .htaccess file. If you get a considerable amount of fake traffic to your site, for example, you may block the access of certain IP addresses and third-party websites, or you could request the visitor to input a username and a password to be able to view the content. You could also set up URL forwarding or use customized error pages for your site, prevent other sites from linking to your content directly and from using your account’s traffic quota, and so forth. An .htaccess file will give you significantly more control over your Internet sites and the way they perform.