.htaccess is a small text file that is located either directly inside a domain folder or in a subfolder to inform the server how it has to handle requests when an Internet site or a folder which is part of it is accessed. A lot of popular scripts such as WordPress and Joomla™ use an .htaccess file. If you get loads of fake traffic to your site, for example, you'll be able to block the access of certain IP addresses and third-party sites, or you can request the visitor to type in a username and a password to view the content. You could also set up URL redirecting or use personalized error pages for your Internet site, prevent other sites from linking to your content directly and from using your account’s traffic quota, etc. An .htaccess file will give you much more control over your websites and the way they function.