WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. rdmoshpit
    Member
    Posted 1 year 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???

    Thx,
    Raphael

    http://wordpress.org/extend/plugins/geographical-redirect/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.