How to block certain countries

by smartren25 8 replies
Hi is there a way to block high risk countries from a WP website? If so how?


#search engine optimization #block #countries
Avatar of Unregistered
  • Profile picture of the author MikeFriedman
    You can find security plugins for Wordpress that will do that.

    Just a side note, if you think it is going to help with your other question about preventing links to your site, it won't.
    {{ DiscussionBoard.errors[9619044].message }}
  • Profile picture of the author rabbistarak
    I dont think it is a good idea....but if you want to do it then just do a search on google you will find plenty of plugins...
    {{ DiscussionBoard.errors[9622238].message }}
  • Profile picture of the author Hemanth Malli
    Originally Posted by smartren25 View Post

    Hi is there a way to block high risk countries from a WP website? If so how?



    Why to block the countries? If you don't want to add country you will not include the country in your list.

    May i know is there any use to block the countries?
    {{ DiscussionBoard.errors[9625114].message }}
  • Profile picture of the author larrypaul
    Yes, in WP when .htaccess file is used we can add up a code to block list of countries manually into it. As well WP Provides a facility of plugin to block certain countries. Both ways are helpful and effective in blocking countries..
    {{ DiscussionBoard.errors[9627069].message }}
  • Profile picture of the author sweezeter
    Your only real option is via a plug in, you'll probably mess up too much via the htaccess files.

    Why are you trying to block a certain country?
    {{ DiscussionBoard.errors[9627084].message }}
    • Profile picture of the author MikeFriedman
      Originally Posted by sweezeter View Post

      Why are you trying to block a certain country?
      The reasoning is definitely important. It might be more hassle than it is worth.

      I have a few sites that have different countries blocked. For example, one sells a product that only ships in the U.S. No point in having traffic from India or Germany. Just wastes bandwidth and could slow down the site with useless users.

      Another kept getting hackers from a certain country trying to get into it. Since zero qualified leads or sales were coming from that country, I blocked the whole thing.
      {{ DiscussionBoard.errors[9627478].message }}
  • Profile picture of the author OnTheRun
    There's a plugin called "IP Blacklist Cloud", that will allow you to block certain IP's from visiting your website. Hope it helps!
    {{ DiscussionBoard.errors[9627296].message }}
  • Profile picture of the author azmanar

    I'm using Limit Login Attempts Plugin that will block unauthorized access to my WP Admin after a few attempts. Most IPs are from Russia, Romania, Ukraine, Poland, Latvia and Iran. There were also attempts from US especially from New York and Chicago. Probably they are using proxies.

    Lots and lots of attempts are coming from Ukraine and Russia. If they really are from both regions, they need to find better hobbies in their free time.

    Most attempts were using the typically foolish user login "admin". I would just laugh that out because I'm using unique user names for admin login. BUT ...... recently they have figured out unique user names, despite these user names not appearing in any post or page. To me, this is a step up from previous risks.

    Makes me worry.

    The websites they're trying to hack into are totally about local interest and in local polynesian language for very small communities. There is no reason for anyone from Eastern Europe and Central Asia to enter.

    So the next best thing is to find ways to block regional IPs.

    Can anyone suggest the most efficient way to do that?
    === >>> Tomorrow Should Be Better Than Today

    {{ DiscussionBoard.errors[9690233].message }}
Avatar of Unregistered

Trending Topics

  • 56 {{ upvoteCount | shortNum }}

    Better/cheaper solution than Mailchimp?

    Hi all, I have an e-commerce on Squarespace and I make my own product (jewelry). I want to start building an email list in order to promote 1 great offer ... [read more]

  • 59 {{ upvoteCount | shortNum }}

    Are you the Warrior of the Month?

    so.....we are launching the Warrior of the Month mini competition... Yes... every Month we will announce who was the Warrior with the most valuable post. This is our own small ... [read more]

  • 8 {{ upvoteCount | shortNum }}

    My product idea exists nowhere, am I fooling myself here?

    A business partner and I have invested in clickbank university. In the vendor program they have you explore the clickbank marketplace and look to see if your idea/passion/etc is listed. ... [read more]

  • 3 {{ upvoteCount | shortNum }}

    Are solo ads worth all the hype?

    K40water in Internet Marketing

    How many of you use solo ads for driving traffic? Do you have any other sources of traffic that you prefer? What is the most newbie friendly method of traffic ... [read more]

  • 21 {{ upvoteCount | shortNum }}