# Country Blocker

## Overview

Country Blocker is a feature that allows you to restrict access to your website from specific countries or IP addresses. This feature can be helpful for businesses that need to comply with certain laws or regulations, or simply want to limit traffic from certain countries or IP addresses.

## Key Features

* Block by country and IPs
* Show a block page to restrict visitors&#x20;
* Multiple customizable templates for block page
* Whitelist certain IPs from block
* Whitelist URLs from block
* Support **Global Whitelist**

## Setup App for Block visitors&#x20;

### 1. Enable the App Embed

Now on the "**Getting Started**", click on the "**Go To  Theme Editor**" button which will redirect you to the theme editor page.&#x20;

Click the toggle button on the theme editor page to enable the "**App Embed**" of the GeoIP Country Redirect app and finally click "**Save**".

<div><figure><img src="https://2670149893-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FufSz9Fn2Bq257KnKEgiT%2Fuploads%2FWGgpS0D9wz9cf6zaE0Tl%2Fenable_app_embed.png?alt=media&#x26;token=4da289f8-eb41-474b-a51c-ddd0b24b565c" alt=""><figcaption></figcaption></figure> <figure><img src="https://2670149893-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FufSz9Fn2Bq257KnKEgiT%2Fuploads%2FDqz5bv4SlNFXpF6ZEhfR%2Fenable_app_embed_theme.png?alt=media&#x26;token=a8754241-c6cf-48a2-93bb-2af6b44cd7ab" alt=""><figcaption></figcaption></figure></div>

### 2. Create blocker rule&#x20;

To learn how to create a rule, please read the help article below.

{% content-ref url="country-blocker/create-block-rule" %}
[create-block-rule](country-blocker/create-block-rule)
{% endcontent-ref %}
