WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a website that needs to display state-specific versions, for a few states. Obviously, I will need to parse the IP address to gain geographic information. Before I start making that plug-in, I figured I'd shoot a question out to the collective.

To further explain my situation, the website has a different "version", depending on if customers are coming to it from Texas, California, New York and Canada. The language will be English throughout, but the content for Texas is different (think: compliance) from California.

I was thinking of using a splash page (cringe) with a drop-down, should all else fail.

share|improve this question
up vote 1 down vote accepted

I guess this thread will steal you more than a day. After reading through it and all the code it contains, you'll be more than happy... or maybe just confused ;)

share|improve this answer
Definitely the relevant information I was looking for. I recommend anybody looking for some information on GIS with Wordpress to check that out. – dmanexe Apr 12 '11 at 22:05

A lot of people use http://www.maxmind.com/app/region . It is reasonably priced, up to date and has a decent PHP api ( and other languages).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.