Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Website
  3. GeoIP Redirect - Country Redirect, Language by Country and Geo Redirect for Website v 19.0
  4. Sales Conditions FAQ

GeoIP Redirect - Country Redirect, Language by Country and Geo Redirect for Website

by Modvanta https://modvantaapps.tech/odoo-apps/geoip-redirect/
Odoo

$ 19.94

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
You bought this module and need support? Click here!
  • Description
  • Manifest
  • License
GeoIP Redirect for the Odoo 19 Website

GeoIP Redirect for the Odoo 19 Website

Send every visitor to the right language, store or URL from their country - with Odoo's own GeoIP database, no paid service needed. Country picker pop-up, visitor country badge, search engine exemption and a cookie that respects the visitor's own choice.

Buy Now - $20Ask a Question

Written and supported by Modvanta - modvantaapps@gmail.com

Odoo 19 Community and EnterpriseUses Odoo GeoIP (GeoLite2)Optional geolocation APIMulti-websiteSEO safe: crawlers never redirected21 automated tests

What it does

In plain language

Odoo 19 can already tell which country a visitor comes from (GeoIP), but it does nothing with it on the website: everybody lands on the same language and the same site.

This module adds country rules: visitors from these countries switch to this language, go to that website, go to this URL, or stay where they are.

Visitors from a country without a rule get a small pop-up to pick their country, or follow a default rule.

Once a visitor picks a language or a country by hand, the module never redirects them again.

Who it is for

Companies with one Odoo website in several languages that want each country to land in its own language.

Groups with one Odoo website per country or region (multi-website).

Shops that send some countries to a different store, distributor or landing page.

Anyone who must keep search engines able to index every language version.

Key features

Every screenshot below was taken on Odoo 19 with this module installed.

FEATURE 1

What it adds over Odoo 19

Odoo 19 detects the visitor country but never redirects on it. The module adds:

Country rules per website: switch language, send to another website, send to a URL, or stay

A default rule for all other countries, or a country picker pop-up

A visitor country badge and an option to hide the language selector

Never redirects crawlers, employees, checkout, payment and portal pages

Redirect on the first page of a visit, or on every page; the visitor's own choice always wins

An optional geolocation API as fallback, with a log of every answer

What it adds over Odoo 19

FEATURE 2

A German visitor lands on the German site

A visitor from Germany opening /contactus is sent to /de/contactus with a temporary 302 redirect. The page they asked for is kept, with its query string.

The badge shows the detected country and lets the visitor change it

Redirected only once per visit by default, so they can still switch to English

A German visitor lands on the German site

FEATURE 3

Country picker for everybody else

A visitor from a country with no rule gets a pop-up with the countries you serve. Their pick is remembered for 30 days and sends them to the right language or store at once.

Closing the pop-up keeps the visitor where they are

Switch the pop-up off and use a default rule instead

Country picker for everybody else

FEATURE 4

Country redirect rules

One line per group of countries, ordered by priority, for one website or all of them, with the number of redirects each rule made.

A country can be in only one rule per website

Rules for one website win over rules for all websites

Country redirect rules

FEATURE 5

Language, website or URL

Choose what happens: switch language, go to another Odoo website (same page or home), go to an absolute URL or a path on this site, or stay. 302 or 301.

Keep the page: /shop/desk goes to the same page on the target

No redirect loops: a visitor already on the target stays there

Language, website or URL

FEATURE 6

Geolocation API fallback

Odoo's GeoIP database is used first. For IPs it does not know you can add a web service (any JSON API that takes the IP in the URL). Each answer is kept for a day.

Test button, call counts for today, failures

One active API per website

Geolocation API fallback

FEATURE 7

Every API answer logged

IP, country, HTTP status, time taken and error of each API call, grouped per day, as a list, pivot or graph. Logs older than 90 days are removed automatically.

Every API answer logged

How it works

1

Install

Install the module and open Website -> Configuration -> Settings -> GeoIP Redirect. Switch it on.

2

Add your languages

For language rules, add the languages to the website first (Settings -> Languages).

3

Create rules

Website -> Configuration -> GeoIP Redirect -> Country Redirect Rules: pick countries and what should happen.

4

Test from the office

Type an IP of the country to test in Local Test IP (for example 85.214.132.117 for Germany) and open your site from your own network. Public visitors are not affected.

Settings

GeoIP RedirectOn or off per website
RedirectFirst page of a visit only (recommended) or every page until the visitor picks a country
Country Picker Pop-upFor countries without a rule and without a default rule
Show Visitor Country / Hide Language SelectorBadge with the detected country; hide Odoo's language selector
Never Redirect Search EnginesWith an editable crawler pattern
Never Redirect These PathsCheckout, payment, portal, backend and login by default; one prefix per line
Do Not Redirect Employees / Local Test IPTesting from your own network

FAQ

Do I need a GeoIP account or API key?

No. Odoo reads the free MaxMind GeoLite2 database that is installed on most Odoo servers (/usr/share/GeoIP). The web service fallback is optional.

Is it bad for SEO?

Crawlers are never redirected and the default code is 302, so search engines keep indexing every language and website. Add hreflang through Odoo's own multi-language pages as usual.

Can a visitor still choose another language?

Yes. By default only the first page of a visit is redirected, and any language picked in Odoo's language selector or country picked in the pop-up is respected for 30 days.

Does it change prices or currency?

No, it redirects and switches language. Pricelists by country are handled by Odoo eCommerce itself (country groups on pricelists).

What if the server has no GeoIP database?

Then no country is detected and nothing is redirected, unless you add a geolocation API; the pop-up still lets visitors pick their country.

Compatibility and support

Odoo 19 Community and Enterprise. Requires the Website app only (no eCommerce needed).

Questions, a demo or a custom change: modvantaapps@gmail.com

EMAIL

modvantaapps@gmail.com

AUTHOR

Modvanta

INCLUDED

21 automated tests

Buy Now - $20Hire Us for Odoo Work

Written and supported by Modvanta - modvantaapps@gmail.com

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Website (website)
• Discuss (mail)
Lines of code 903
Technical Name mdv_geoip_redirect
LicenseOPL-1
Websitehttps://modvantaapps.tech/odoo-apps/geoip-redirect/
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with