How to show a different page depending on readers location?

Discussion in 'HTML & Website Design' started by MiletNZ, Oct 4, 2010.

  1. #1
    Hey all can someone please teach me how to show a Different page to readers depending on which country they are viewing from? Is this even possible?

    I have a Wordpress site and there are some pages that have offers available for certain countries.

    For Example: A product review page with a link to buy it - but the seller does not offer international shipping and there are other sites in other countries that sell the same thing.

    Help please :)
     
    MiletNZ, Oct 4, 2010 IP
  2. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Once I'd done something near to similar kind, may be this should give you some direction -

    1. determine the user browser's country/language using javascript
    2. data feed through xml as the the country/language determined by the use javascript.
     
    radiant_luv, Oct 4, 2010 IP
  3. exlvl

    exlvl Peon

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks.. i was looking for a same kind of thing too..
     
    exlvl, Oct 5, 2010 IP
  4. shahilroyhere

    shahilroyhere Well-Known Member

    Messages:
    189
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    130
    #4
    I think IP verification is a better process than getting browser's country through JS. This can be manipulated by the user very easily where as IP validation comes from reliable IP databases. There are many codes available which check for the URL requester's IP address and gets it verified by some IP databases to know where the user is from. Can be integrated with any programming language.
     
    shahilroyhere, Oct 5, 2010 IP
  5. wordpressfan

    wordpressfan Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    we have geo specific programs in php which gets the ip address and decides which location the user belongs to.
    then using wp_redirect function can do the work for you.
     
    wordpressfan, Oct 5, 2010 IP
  6. MiletNZ

    MiletNZ Member

    Messages:
    283
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    30
    #6
    Thanks for all the answers I have chosen a few plugins to test out
     
    MiletNZ, Oct 9, 2010 IP
  7. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #7
    Appreciate if you can share information on the plugins, will be helpful to others as well.

    Thanks
     
    radiant_luv, Oct 9, 2010 IP
  8. andresc2

    andresc2 Peon

    Messages:
    70
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    i know that joomla has a component that is able to do this it's called joomfish you should give it a try, it is really easy to use
     
    andresc2, Oct 14, 2010 IP