SpiceGems Knowledge Base
All AppsContact Us
GeoIP Country Redirect
GeoIP Country Redirect
  • πŸ“–Overview
  • Getting Started
  • Country Redirect
    • Create Redirect Rule
    • Create Exception-Based Redirect Rule
    • Bypass the Redirection
    • Redirect Templates (Popup/Banner)
      • Customize Redirect Templates
    • Dynamic Flags
    • FAQs
      • How to redirect visitor forcefully?
      • How to add Flags with the countries in the switcher?
      • What is Same-domain?
      • Can the app perform instant redirection before the page load?
      • How to setup different redirection type on different rules
      • How to Create Popups in Multiple Languages
      • Can the app remember the user's selection when displaying a pop-up/banner
      • How can i test the redirect rules
      • Can I prevent the redirection for specific redirect rule
      • How to forward existing parameters while redirection
  • Country Blocker
    • Create Blocker Rule
    • Create an Exception Based Rule
    • Customize Blocker Template
    • Country Blocker Whitelist Settings
    • Bypass Blocker Rules
    • FAQs
      • How to block certain countries to access my store?
      • How to block certain visitors by IPs
      • How to Bypass from Blocker Rules
      • Can I set a custom message for blocked visitors?
      • Can I allow some users from the block location to access the store?
      • My analytics are showing discrepancies.
  • General Settings
    • Relative Redirect
    • Language Consideration with Relative Redirect
    • Whitelist (Rule based)
    • UTM Parameters
    • Page-Specific Redirection
    • URL Mapping
    • Alpha-2 country codes
  • GeoMarket Redirect
    • GeoLocation Popup
    • Geolocation Popup Editor
    • Auto-Redirect
  • GeoIP Switcher
    • Shopify Market Switcher
    • Manual Switcher
    • Preserve Path
    • Language Consideration
    • Customize switcher template
  • GDPR Info Bar
  • Global Whitelist Settings
  • General FAQs
    • How to disable the app?
    • Can I use the app on multiple stores in the same browser?
    • Foundation of a Redirect Rule
    • Understanding the App functionality
    • Login Issues
    • Disable Prevent Cross-Site Tracking in Safari on Mac
  • App Pricing
Powered by GitBook
On this page
  1. Country Redirect
  2. FAQs

How can i test the redirect rules

PreviousCan the app remember the user's selection when displaying a pop-up/bannerNextCan I prevent the redirection for specific redirect rule

Last updated 8 months ago

In this post, I am going to cover the topic on how to test the redirect rules after setting up the app.

Let’s consider a scenario:

I’m running a store with the GeoIP country Redirect installed on it.

The app is set up so that the US and Canadian visitors will be displayed a POPUP to get redirected to their country store i.e.

It is difficult for me to test the redirect rules because I am located in India.

In order to test the redirect rules for different country locations, we will use the VPN extension.

A VPN app or extension allows you to set a virtual location in the browser. So, using it you can test the behavior of your store for other country visitors.

Here are the steps involved:

Step 1. Install a VPN app or extension. In our case, we are using the HOLA VPN. You can install it using the link

Step 2. Make sure the app is enabled on your store.

Step 3. Visit your store and set the country in the VPN for which you want to test the redirect rules.

In our case, we are visiting with the country selected as the β€œUS” in the VPN.

Step 4. The POPUP is displayed as per the selected country in the VPN. Click on β€œYES” to redirect or β€œNO” to stay on the same store.

Please note that when the visitors click Yes/No button then it is saved in the cookies.

Step 5. Clear the browser cookies and Repeat step 3 by selecting the country location as CANADA in the VPN.

Step 6. Sometimes, due to the browser cookies, the VPN does not set an accurate location. So, in order to get the best results clear the browser cookies before testing the redirect rules with the VPN.

Similarly, you can test the redirect rules for other countries as per your requirements.

https://all-round-store.myshopify.com
https://sg-localapp.myshopify.com/
https://hola.org/
https://all-round-store.myshopify.com