Just how to Block Website(s) using .htaccess ?

Just how to Block Website(s) using .htaccess ?

The process described here is approximately blocking a webpage htaccess that is using particularly useful for sites utilizing Apache internet Server Hosting. The stated information should assist users who’ve hosted multiple web sites in one real host.

It may additionally be relevant to your site that is hosted on websitebuilder.com a provided host alongwith other users on a single machine and have an access and control of your domains. It could be a weblog, social-networking/bookmarking web web web site, forum etc. you run using the host as they are fed-up as a result of spammers or scammers and desire to avoid your website being accessible because of the specific users. With the technique described in this essay, users will be with the capacity of blocking even a whole country from accessing your site. You just have to include or modify a solitary file on the host by the addition of the enable or disable use of particular market based on the internet protocol address details.

It would have a unique access control file named ‘.htaccess‘, that includes a combination of plain text directives which takes care of enabling or disabling the access to files or folders on a particular website or even some particular directories of the website if you have your website hosted on a Linux Apache server. Users may even set redirect guidelines for files, files or the complete website to a desired web page. This particular aspect is especially helpful whenever a typical page, file or folder is either renamed, modified or totally deleted. Preferably, the .htaccess file should always be into the internet root directory viz. public_html. Although some sites could have another one, thus getting that confirmed through the web hosting provider makes it possible to find the file that is exact. Few hosts like to position the file inside the sub-directories aswell. More