1. Documentation /
  2. Security for WooCommerce

Security for WooCommerce

Security for WooCommerce allows WooCommerce-powered businesses to block unwanted traffic and focus on real customers whom they intend to sell or offer services to. 

Installation

↑ Back to top
  • Download the .zip file from your WooCommerce account.
  • Go to: WordPress Admin > Plugins > Add New Upload Plugin
  • Choose File for the file you downloaded.
  • Install Now and Activate Plugin.

More information at: Install and Activate Plugins/Extensions.

Setup and Configuration

↑ Back to top

To set up your store with Security for WooCommerce:

  1. Go to: WooCommerce > Settings > Integration > Security for WooCommerce
  2. Enable Firewall On/Off button to activate the plugin.
  3. Your website IP address will be loaded automatically in the next tab.
  4. Select your location country in Your current location/country tab.

Allow/Block Customers from Multiple countries

↑ Back to top

To block and allow audience from multiple countries:

  1. Go to Blocked countries list tab.
  2. Click Select All to check all the countries, uncheck your country of origin and keep unchecking all other countries you want to allow, keeping Ctrl or ⌘ key pressed while selecting from the list of countries.
  3. Save changes by clicking Save changes button at the bottom of Security for WooCommerce settings.

To Allow Customers from One Country Only

↑ Back to top

If you are operating a business for only one country and want to allow audience from that specific country then:

  1. Go to Allow only traffic from this country tab.
  2. Select the country you want to allow audience for and save changes.

Whitelisting of IPs

↑ Back to top

To manually whitelist IP addresses;

  1. Navigate to Whitelist IPs tab.
  2. Add the IP address to whitelist. Press Tab, Enter or Comma ( , ) to add another IP address.

Blacklisting of IPs

↑ Back to top

To manually backlist IP addresses:

  1. Go to Blacklisted IPs tab.
  2. Enter IP address to add to the blacklist. Press Tab, Enter or Comma ( , ) to add another IP address.

Usage

↑ Back to top

When a visitor arrives from a country that the merchant is not offering business to, they will see the following message,
Sorry, your country is not permitted to visit this website.

Also, when customers come from allowed countries, on checkout they will be given option to ship products to only countries that merchant has authorised to offer service.

Troubleshooting

↑ Back to top

If you encounter any error enable Debug Log On/Off button and save changes and contact us. 

 

WooCommerce

The most customizable eCommerce platform for building your online business.

  • 30-day money-back guarantee
  • Support teams across the world
  • Safe and secure online payment