Best Way to Block Country IPs

by alanaj
4 replies
There are about 5 countries that constantly create problems for my sites and I want to completely block these countries. I have WP and Hostgator. What is the best way to stop this today?

Thanks for your feedback.
#block #county #ips
  • Profile picture of the author dougb
    There are free plugins for that, one is called block country.

    Good luck
    Signature

    Learn IM for Free. Gain access to Information,Audio and Video Tutorials, Downloads and More
    The Newbie Marketing Center
    Follow my trek as I log the ups and downs of my marketing business.
    My Marketing Trek

    {{ DiscussionBoard.errors[9132677].message }}
  • Profile picture of the author mathewboly
    You can now block them easily with free blocking service for Apache Web Server. Simply select the countries you want to block from your Website and press the "Download" button.

    Instantly, the .htaccess information is generated for you. Copy and paste this generated code into your .htaccess file and it denies the visitors from the selected country to access your Website. You can efficiently block unwanted traffic from non-converting, fraud and spamming countries you do not want to give access.

    If you want to block visitors in IIS Web Server, please consider the commercial edition of the IP2Location ISAPI Filter.

    It is very easy to use IP block country generator.
    {{ DiscussionBoard.errors[9132737].message }}
  • Profile picture of the author Reddy20
    You can block countries using the .htaccess file
    {{ DiscussionBoard.errors[9133338].message }}
  • Profile picture of the author alanaj
    Thanks everyone for your feedback. I'm going to test your suggestions.
    {{ DiscussionBoard.errors[9134130].message }}

Trending Topics