Locksmith can help you restrict access by locations. The location key supports many type of locations including:
- Regions (eg: North America, Asia, Antarctica)
- Countries (eg: Australia, Germany, Nauru)
- Provinces/States (eg: Texas, Nova Scotia, Sikkim)
- Cities (eg: Montreal, Chicago, Tokyo)
- Towns (eg: Český Krumlov, Santa Maddalena)
Giving access to locations
Once you've created your lock, choose the Location key:
Next, in the key configuration box, search for the location:
Click the name of the area to add it to the key. Feel free to add additional locations:
Save the key, and you're all set. Those locations will be given access to your locked content, but everyone else around the world won't.
Hiding FROM locations
To make sure some locations don't see your locked content, you'll use the same method.
Add your location(s) to the key like normal, but this time click off of the key box and click the "if" in the key on the lock page. That "if" turns into "unless":
The result here is that customers around the world can get access to your locked content, all except for those in that location. :)
Important: This does not prevent customers who have IP addresses located in an allowed location from choosing a specific shipping location/address that is in a blocked location at checkout. Locksmith is not able to control shipping locations during checkout.
Also Important: If you're using the locations key when locking your entire store, this will strongly effect your SEO because search engines will no longer be able to index your site. Check out this guide for more info about that: