We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Redirecting user to there country site based on IP Address

Development and Programming

vikasvickys's avatar
vikasvickys
8 posts
15 years ago
vikasvickys's avatar vikasvickys

Hi

Can i redirect the user to there country site based on there ip address

  • Vikas
       
ajlny's avatar
ajlny
42 posts
15 years ago
ajlny's avatar ajlny

You can do a soft redirect (i.e., after the page has loaded, redirect or tell them to “click here”): http://ellislab.com/forums/viewthread/161634/#784093

If you need to do a real redirect you’ll need access to the ip-to-country mapping (http://www.ip2nation.com/) and then write a php script that is included on every page you want the redirection.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.