Jump to content

Is it possible to direct users to different pages based on Geolocation


jpf566

Recommended Posts

Hey guys, I?m taking care of a website for a company that has locations in two general locations (The Philadelphia/NJ area and the DC/VA/MD area) I would like it so when the user clicks ?Sales & Events? they are directed to the sales & events at the location they are closest to (Either the Philly/NJ or the DC,VA,MD area) Is there any way to effectively do this or will I need to create some type of gateway page so they can choose their location? I?m sorry if this is not in the right part of the Forum but if this is possible, I don?t know what type of scripting would be used? Thanks for any and all help!

 

 

Jon

Link to comment
Share on other sites

Assuming that you have a Geo-location Database available, PHP can be used to determine their location. At least the location of their ISP, which is not entirely trustworthy. I have a Forum which is 99% Canadian users, but the stats for that site show 85% US users, so if you use the available log information, you may be surprised by the results. Maybe the way to handle it would be to give the user the choice of which set of events they wish to view?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...