Forums

Geo redirect based on ip in different countries not supported in wpmu?? (5 posts)

  1. Jackie2011ws
    Member
    Posted 5 months ago #

    I tried to use lite version of country code to redirect users based on their country locations.
    Currently I'm using wordpress wpmu platform with subdomains, I set australian visitors being redirected to http://au.handyloft.com, while others remains http://handyloft.com, but it seems there is a loop there, I see the address being redirected to http://au.handyloft.com, but when it's redirected to au.handyloft.com, it's redirected again to au.handyloft.com, so keep being redirected.
    Basically, I only want my homepage http://handyloft.com to be redirected by country, is there any solution to this?

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 5 months ago #

    The redirect should work. What plugin is this?

  3. Jackie2011ws
    Member
    Posted 5 months ago #

    No, i didn't use any plugin, just maxmind's tutorials about php, not working for wpmu

  4. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 5 months ago #

    Ah, you'll want to do .htaccess redirects for that.

  5. Jackie2011ws
    Member
    Posted 5 months ago #

    I don't know how to do .htaccess, but i think that involves much ip address, I just use maxmind's free ip country database,you can refer to maxmind.com for more info.

Reply

You must log in to post.

About this Topic