Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

i'm running a wordpress free classified website and the address is what i need is if a user from london open this url then it should be concatenated with or is that possible? shall i make a new function or wat? Thanks in advance.

share|improve this question

1 Answer 1

Try the wordpress maxmind plug-in. I've never used it myself, but it should do the heavy lifting of identifying a user's location by IP address.

You'll have to add some functions to dictate what to do with that data in terms of redirecting visitors (the plug-in only figures out where they are). You'll probably also need to add bits to handle situations when the location isn't recognized (or isn't in the UK, for example).

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.