• Resolved acehunter012

    (@acehunter012)


    I’ve tested this on a live site before switching it to production.

    I have some geolocation code that detects where the user is coming from (via IP) and it automatically click-triggers the appropriate GTranslate link (via JS).

    On the staging site (Cloudways), this just immediately switches to the language and loads everything up with the language. On my production site though (WP-Engine), instead of doing that it redirects into a new (non-existent, 404) page.

    The site in question (https://www.immigrationhadley.com/) has two languages, EN(US) and ES(Mexico). When in Mexico it should just switch the language but instead it’s going to this URL (https://www.immigrationhadley.com/es/home-mx/) which doesn’t exist.

    What’s going on here?

    • This topic was modified 2 years, 9 months ago by acehunter012.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Plugin redirects to 404 page when GeoIP located in production environment’ is closed to new replies.