Hi there!
I have just joined DaniWeb and would like to pose a question...
I need to direct my UK visitors to a Special Homepage, does anyone know of some simple PHP or even Javascript code that will point me in the right direction?

Recommended Answers

All 4 Replies

Brilliant! - Thank you so much!

thanks that helped me....


you can set these location based redirects and implement it easily into your website by using Geolify's geo redirect tools.

Have a look at http://geolify.com

sign up for their service and create a geo redirect.

you can enter, the visitor location, landing url, redirect url and you will get 1 line of simple java code which you paste in between your website's HEAD tags and the location based redirect will become active.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.