Rule Based Whitelisting
Last updated
Last updated
This feature allows you to prevent redirection for certain users for a particular rule.
This feature offers two settings of excluding users from the redirection
Whitelist IPs Settings
Whitelist URLs Settings
Consider Global Settings
Consider Global Setting is created to apply the same whitelist settings to all rules available in the app. If the Consider Global Setting is active in the rules then the Whitelist IP or URL in the Global setting will work for that specific rule.
Let us understand both features in detail:
Click on the Country Redirect option → click on Edit in the redirection rule
Click on Whitelist > Enter IP address (IPv4 only) → click on the save button.
Note the following points:
The IP address should be added in a comma-separated format with no spaces.
The app only supports IPv4 address
Click on the Country Redirect option → click on Edit in the redirection rule (Same as Whitelist IP setting)
Click on Whitelist > Click on + Add new Whitelist Rule
Add Whitelist URL details → click on the Add button.
Whitelist URL details format
Add URL Path: Specify the URL path on which you want to prevent redirection (e.g., /product/toy-stopper).
Choose a Type: Select one of the following options:
Exact: Redirection will be prevented only when the URL exactly matches the added URL path.
Contains: Redirection will be prevented if the URL contains the content of the added URL path.
With the Exact type, you can whitelist (prevent redirection) complete pages in your primary store.
For example - you want to prevent redirection on the 'Contact-us', 'about-us' or 'blogs'. In that case, you need to add the URL path with the Exact type in the app.
With the Contain type, you can prevent redirection using a keyword in the URL. If the URL contains that specific keyword, the redirection will not be triggered on that URL.
For example - you want to exclude URLs from redirection which contain the keyword “products“. In this case, you need to add the “products” keyword in the app and select the type “Contain“ to prevent redirection.