Geo Redirect
redirect main country to /, some to /$country, and default to one page (1 post)

  1. rdmoshpit
    Posted 3 years ago #

    Hello all,

    First, thanks for this great plugin!

    I'm working with WP and WPML, and want to setup a specific rule:

    If user is from my main language country, I want him to be redirected to /, if from one other setup language country, I want him to be directed to the matching /$language, and other country or not correctly detected people should be directed to a splash page on /language.

    In my specific case, it would be:

    Germany: /
    Netherlands: /nl
    Sweden: /sv
    else: /language

    But, of course, if I set it up like that, i end up with an endless loop for german people.
    If I set up Germany on /de, i have a 404 as German is my default WPML language (so /de doesn't exist).

    Other option is to create a "fake" default language ('en'), so /de would exist. But it adds an extra unused (default) language in the BackEnd! Obviously, I don't want that.

    Anyone has an idea on how to handle it???



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Geo Redirect
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.