How to create Geo Lock and allow specific country to access the store?

Use Geo Lock to restrict your store so only visitors from chosen countries can view it.

  1. Open the Geo Lock page In Shopify Admin, go to Apps → LockPro → Geo Lock.

  2. Set restriction type From Restriction type, choose Allow only listed countries (allow access).

  3. Add your country

    • Click Choose Country and select the country you want to allow.

    • Your selected country will appear as a tag remove it if you change your mind.

  4. Define how to handle others Under What happens when access is restricted?, pick one:

    • Show restriction message: block access completely for visitors from unlisted countries see your custom message.

    • Redirect to URL: send them to a page you specify (e.g. /pages/contact).

  5. Activate & save

    • Ensure Status is Active.

    • Click Save. Final Output:


Now only visitors from your selected country can access the storefront. All others will see your chosen restriction behavior.

Last updated