magento2.3 – Block traffic from USA but allow Google, Bing bots and Facebook catalogue uploads

I recently suffered 2 credit card attacks on my live site with traffic on the first attack coming from Singapore and on the second it came via the USA from someone in Vietnam.

We don’t sell other than in the UK so I thought I’d block all traffic excluding EU and UK.

I’ve added the following to my .htaccess file but now I’m getting Google, Bing and Facebook Catalogue problems and both Facebook catalogue uploads and SEO is being heavily impacted.

GeoIPEnable On

SetEnvIf GEOIP_COUNTRY_CODE UK AllowCountry
SetEnvIf GEOIP_CONTINENT_CODE EU AllowCountry

Deny from all
Allow from env=AllowCountry

I’m not that advanced on how to configure .htaccess and would really appreciate any advice you could offer.

What I’m trying to achieve is to block user traffic but allow services/bots / FB to reach me.

I hope that makes sense.

I will promote the partner CPA offering with Google ads or Bing ads for $ 20

I will advertise the affiliate CPA offer with Google ads or Bing ads

With my creative approach and thorough research and analysis, I have an interest in growing the business by improving customer acquisition and talent to improve the performance of organic Google Ads traffic and PPC advertising.
I am currently working on increasing our customer turnover and recruiting partners.
As a certified Google Advertising Expert, I can give you lots of successful keywords, give you competitive data, and set up Google and Bing ads for you.
I will also give you an audit that will help you spy on your competitors. Spying on competitors is most important to lower your advertising costs and increase your sales through PPC.
I can help you with detailed data from competitors and create effective advertising for you. What I can do for you:

  • Set up and optimize Google ads and campaigns
  • Determine which campaign suits you
  • Purchase keyword research and optimization
  • Excellent ad copy
  • Write relevant, engaging ads
  • Bid management
  • Target your target group
  • Improve ads
  • Site alignment setup
  • Implementation of a negative keyword to exclude irrelevant traffic
  • Good conversion rate
  • Suggestion to optimize the landing page

** Please contact me for an individual offer **

Create 10,000 high quality backlinks for $ 10

Create 10,000 high quality backlinks

Within the time frame I will create the backlinks according to the selected package. All links are submitted for indexing. The backlinks will be of great quality and you will be particularly happy with them. Once you've selected the package you want, just sit back and wait for it to finish. Rest assured that your project is in good hands. Many thanks.