WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Geo Redirect] How can I set Redirect for all countries except my country?

[Resolved] [Plugin: Geo Redirect] How can I set Redirect for all countries except my country?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Artem Platonov

    @ladrower

    Hello, Ikawyzo!
    Try to do next:

    • For Ā«default redirectĀ» select Ā«Language CodeĀ» among Ā«Redirect optionsĀ», enter Ā«Option ValueĀ» = Ā«enĀ» and optionally mark Ā«Use pretty permalinkĀ». This will redirect all of your visitors to abc.com/?lang=en or abc.com/en/
    • Then select Germany among the countries selectbox and add it to the redirect options list. For this country select Ā«Domain NameĀ» among Ā«Redirect optionsĀ» and enter the value Ā«http://abc.comĀ» (just remove substring Ā«de.Ā»)
      This setting will affect only on visitors from Germany and will not execute any redirect, because of the equal domain. Also german visitors will have the possibility to visit abc.com/en/ page.

    Dear Artem Platonov,
    Awesome! You are Awesome.
    Thank you so much šŸ˜€

    And I have one other question:
    How can I set Redirect for all countries except my country?
    Ex:
    – My country is Germany
    – My website is: http://abc.com/de
    Now, I only want traffic from Germany can visit http://abc.com/de, and all other countries will be redirect to http://abc.com/
    I see have more 200 countries, I can’t add all it to set redirect option šŸ˜€

    Thank you very much!

    Dear Artem Platonov,
    I have one other question:
    This plugin can’t working (In fact working 50%) when I use Wp-Super-Cache. How can fix it?
    Thanks a lot!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Geo Redirect] How can I set Redirect for all countries except my country?’ is closed to new replies.