Script for IP detection to deliver specific page?

  1. agraj profile image57
    agrajposted 6 years ago

    Hello All,

    I was wondering if there exists a script that would do two things:
    1) Determine the IP address of the site visitor country e.g India
    2) and, based upon the IP address being either an odd or even number, display a particular version of a webpage. (Odd-numbered IP would show page version A, even numbered IP would show version B(Version B may be different URL))
    ---

    As I am not an expert, I may be unaware of a problem with this idea, and please know that I am open to an even better approach!

    Thanks,
    Agraj

  2. syedusmanahmed profile image61
    syedusmanahmedposted 6 years ago

    Yes, there is. A non-expert can do that. visit that link http://www.maxmind.com/app/ip-location. I am also using it on my website.

    1. agraj profile image57
      agrajposted 6 years ago in reply to this

      thanks dude....let me visit this url

 
working