If youâve ever thought about how people from different locations visit your website, you may be familiar with the concept of IP geolocation databases. But how much do you know about them? These databases offer a wide array of different features, and it might be tough to understand what kind of value they can add for your site.
Why Redirect Visitors By IP Addresses?
Why does Google redirect its Australian visitors to Google.com.au? Thatâs because people from a specific country tend to be similar in terms of the content that theyâre searching for (local businesses, for example) as well as the way they search (terminology and lingo). Bearing this in mind, it makes sense for Google to bucket its Australian users into a specific category, so that they can serve them content thatâs more relevant to them. Simple enough, right?
Use Cases of IP Redirection
Google aside, there are plenty of other companies that redirect visitors by IP address. Say youâre an eCommerce store owner whoâs using Shopify to set up and operate their store, for example. When you access Shopifyâs website, youâll be redirected to a local version. Each local version comes with localized content which tells individuals how to set up a business (taking local laws into consideration). When you create your first product, your local currency is also automatically applied to its price.
Hereâs another example: say you have a subscription box business, and you send your customers snacks from around the world. For your US-based customers, youâd want them to be able to browse through your snack boxes from Asia and Europe, but not the American snack boxes. If you have a customer from France, on the other hand, youâd want to show them the Asian and US snack boxes, but not the European ones.
Alternatives of IP Redirection
If you donât want to redirect your customers based on their IP addresses, is there any other way to go about doing it? The answer is⊠yes!
Websites used to come with drop-downs on their main page; these would ask visitors to specify which location theyâre from. As you might imagine, this isnât the most user-friendly. It gives the visitor an extra step to go through before they can access the site that theyâre trying to get through, and increases the friction associated with each visitorâs journey. Because companies these days are increasingly trying to achieve a more user-friendly experience, this method isnât particularly popular anymore.
There are also some websites which auto-detect a visitorâs location, and asks the visitor to confirm that location. This is less of a hassle for the visitor because they donât need to scroll through an entire list of countries and select the appropriate country; instead, theyâre simply clicking a button to confirm their location. Hereâs an example of how ASOS does it (check out the banner on the bottom):

That said, we still recommend that marketers and business owners redirect visitors by IP address instead of relying on pop-ups. These are the least obtrusive, and they donât add an extra step to your customerâs journey.
How To Redirect Visitors By IP Address
Now that youâre up to speed on the importance of IP redirection, letâs talk about how to do the following things:
- - Redirect visitors by IP address
- - Redirect visitors by country
- - Redirect visitors by state
- - Redirect visitors by city
Basically, your website needs to utilize IP geolocation to determine the IP address of your visitor, and match it to a database that states which country the address originates from. When this happens, your website will be able to determine the exact location of your visitor, which is half the battle won. All thatâs left to do is to install code that redirects your visitor to the appropriate domain or subdomain.
Hereâs the tricky part⊠itâs pretty expensive and time-consuming to buy and install and maintain IP databases and to develop code to redirect visitors by IP address. If you donât have any technical expertise and know-how, youâll probably struggle to get your IP redirection set up. Thatâs where Geo Targetlyâs Geo Redirect tool comes in.
Using Geo Targetly To Redirect Visitors By IP Address
With Geo Targetlyâs Geo Redirect tool, you can easily redirect visitors by IP address in just a few simple steps. You donât need to go to the hassle of installing an IP database on your website! Hereâs how it works:

Step One: Type in the landing URL (the URL that the visitor accesses), the redirect URL and the location of the visitor that activates the redirect
Step Two: Obtain a small JavaScript code snippet from the tool
Step Three: Paste the code into your websiteâs HTML header area
Thatâs all there is to it!
Redirecting Visitors By IP Address: Advanced Tips
If you want to configure multiple redirects, simply click on âAdd locationâ to add extra location rules. Geo Targetly does not impose a limit on the number of rules that you might set up.

To fine-tune your targeting, you may also use inclusion and exclusion location rules. For example, you might want to target everyone in the US, except City X, Y and Z. You can easily do this with Geo Targetly.
If you have a brick-and-mortar business and you want to redirect visitors to specific domains or subdomains based on their proximity to you, you can do so as well. Simply use a radius zone, and specify the center latitude and longitude coordinate that youâre looking at.
Last but not least, letâs say you want to have your redirects work for everyone except your internal team. Go ahead and whitelist your own IP addresses. This way, the geo redirects will be disabled for you.
Geo Targetly is a simple, plug-and-play tool that lets you redirect visitors by IP addresses, countries, states, cities, and more. To start redirecting your visitors, claim your free trial now!
â