![]() If you would like to use the IP geolocation web service, please visit IP2Location Web Service or IP2Proxy Web Service for details. IP2Location & IP2Proxy Commercial database (Comprehensive) IP2Location & IP2Proxy LITE database (Free) Alternatively, you can also download and update the BIN data file manually using the below links: If you would like to use the IP2Location geolocation BIN data, you can easily download and update the BIN data via the plugin settings page. This plugin supports both IP2Location BIN data and web service for IP geolocation lookup. Provide you statistical report of traffics blocked.Send you an email notification if some one is trying to access your admin area.Allow you to customize your own 403 page.Default to 403 error (Permission Denied) display.Allow you to whitelist the crawler, for example, Google, Bing, Yandex, and so on, to index your pages (SEO friendly).Allow you to block the access by IP ranges.Allow you to block the access from anonymous proxies.Allow you to block the access by country grouping, such as EU, APAC, and so on.Allow you to block the access from multiple countries.It helps to reduce spam and unwanted sign ups easily by preventing unwanted visitors from browsing a particular page or entire website. This plugin enables user to block unwanted traffic from accessing your frontend (blog pages) or backend (admin area) by countries or proxy servers. Let us know if you have any suggestion or feedback by commenting below.This plugin will NOT work if any cache plugin is enabled. Once complete, you can click “Close” to close the window. If not, correct the error or revert back to the previous version until your site works again. Test your website to make sure it has the desired effect. Just click on the “Edit” button to continue.Ĭlick on the “Save Changes” button in the upper right-hand corner when done. Right click on the file and click on “Code Edit” on the menu.Ī dialogue box may appear asking you about encoding. You may need to scroll to find this file. The File Manager will open in a new tab or window. Make sure “Show Hidden Files (dotfiles)” is checked. ![]() Select “Document Root for: (public_html)” and select the domain name you wish to access. To show hidden files you have to click on setting option given at right top corner of CPanel File Manager.Ĭlick on “File Manager” in the “Files” section. If you face issue while creating htaccess, it means the file already exists but it is hidden. If you are not able to find htaccess in public you can create new. Must take the backup before making any modification. Warning, modifying htaccess wrongly may down your site. ![]() htaccess file, first we will open the File Manager: At MR Cloud Hosting we provide 1 GB RAM, 1 CPU, and Unlimited bandwidth to keep your site smooth performance. If your site has unlimited bandwidth but your resources are very limited like less RAM or CPU, though I suggest you to ban bad bot so your real-time visitors do not feel lagging while using your website. However, this method is very useful if your traffic is over utilizing your resources and due to bad bots your real customers are facing issue while surfing website. You can generate your customize htaccess to prevent traffic and bots from any countries and upload on your server. It is an example of code inside htaccess to ban specific IP and give access to rest of IP. ip2location provides the latest lists of IP addresses which can be placed in htaccess to ban China traffic. We have seen lots of crawling bots and fake unusual traffic from China on tons of websites, this can be prevented by modifying the htaccess file. But this is not recommended as this may prevent users from other countries accessing their website and also some bots as Facebook may also not able to fetch website content. Generally, local business sites are targeting to maximum one or two countries, in this case banning rest of countries can save lots of bandwidth utilization. We can also ban by robots.txt but most of the bad bots ignore robots.txt and intentionally try to fetch prohibited content by robots.txt, so robots.txt is not useful in this case. Banning bad bots is not only useful to protect your content but also to reduce server load and stop utilization of our resource to serve bad bots. ![]() Today we are going to use htaccess to ban bad bots from crawling and fetching our website data. htaccess is located at the root of your web directory. Htaccess is an Apache Web Server configuration file. Things That You Never Expect on HTACCESS to Save Bandwidth
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |