Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

2 Answers 2

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
1  
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

 
discard

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.