Geolocation redirect

Discussion in 'Programming' started by webmasterplace, Jan 24, 2009.

  1. #1
    Hi,

    I need a script which redirect non-dutch visitors to a subdomain.
    All dutch visitors don't need to be redirected and can go to the main domain, but must also be able to go to the subdomain.

    Example:
    A visitor from USA visits www.mysite.com and must be redirected to en.mysite.com, but must be able to manuall go to www.mysite.com.

    A visitor from Holland visits www.mysite.com and is not redirected and must be able to manually go to en.mysite.com.

    Also cookies seems to be useful when the visitor manually chooses where to go.
    Example:
    A visitor from the US visits www.mysite.com and is redirected to en.mysite.com, but he decides to go to the main domain. The next time he visits my site, he will directly go to the main domain.

    I hope it's clear ;)
     
    webmasterplace, Jan 24, 2009 IP
  2. facebook

    facebook Well-Known Member

    Messages:
    390
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    140
    Digital Goods:
    1
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    I am interested... Please PM me details...
     
    facebook, Jan 24, 2009 IP
  3. webmasterplace

    webmasterplace Well-Known Member

    Messages:
    802
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Al details are in the post. I don't know what other details I can give.
    Just ask me if something is not clear.
     
    webmasterplace, Jan 24, 2009 IP
  4. harrisunderwork

    harrisunderwork Well-Known Member

    Messages:
    1,005
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    135
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    Job Taken. Thanks.
     
    harrisunderwork, Jan 24, 2009 IP
  5. proxywhereabouts

    proxywhereabouts Notable Member

    Messages:
    4,027
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    200
    As Seller:
    100% - 3
    As Buyer:
    100% - 0
    #5
    If you're using VPS or Dedicated server, then just need to install mod_geoip and follow the instruction to redirect your traffic.
     
    proxywhereabouts, Jan 24, 2009 IP