Access Control Geoblocking with Litespeed Cache

[ad_1]

Hello,

We are currently receiving an increasing amount of spam in our contact forms, e.g. from the USA. We therefore want to prevent certain countries, including the USA, from accessing the website by geoblocking.

However, this entails 2 problems:

1) Litespeed cache: as soon as the pages are in the cache, geoblocking no longer works and you can also access the website from the USA, for example. How can we ensure that the geoblocking is loaded before the cache or is excluded from the cache?

2) Google Insights: if we include the USA in the geoblocking, certain Google services that are stored in the USA will no longer work, e.g. Google Insights, which has a negative impact on the Search Console. Is it possible to exclude certain ASN numbers or incoming URLs from geoblocking?

Thank you very much

  • This topic was modified 5 hours, 58 minutes ago by alexqbox.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer