Sometimes you may want to block certain people from visiting your site. They may be trying to guess your password or maybe you simply do not want them to have access to your website. On a Linux plan, this can be handled easily via .htaccess.
In your public_html file should be a file called .htaccess (if there isn’t one, you can simply create an empty file named .htaccess
Open this file in a text editor and at the top of the file insert the following: Learn More