Ban mail.ru woocommerce

A specific request!

To block Mail.ru (a Russian email service provider) from accessing your WooCommerce store, you can use a combination of IP blocking and user agent blocking. Here's a step-by-step guide:

Method 1: IP Blocking

  1. Go to your WordPress dashboard and navigate to WooCommerce > Settings > Advanced.
  2. Scroll down to the IP Blocking section.
  3. Add the following IP addresses to the block list:
    • 91.192.108.0/22 (Mail.ru's main IP range)
    • 91.192.112.0/22 (another IP range used by Mail.ru)
  4. Save your changes.

Method 2: User Agent Blocking

  1. Install and activate a plugin like WP User Agent Blocker or User Agent Blocker.
  2. Configure the plugin to block user agents containing "Mail.ru" or "Yandex" (another Russian search engine).
  3. Set the blocking level to "Deny" to prevent Mail.ru users from accessing your store.

Additional Tips

Remember to test your store's functionality after implementing these measures to ensure they don't interfere with legitimate traffic.