Location iframes help

Discussion in 'Programming' started by marcusio, Aug 19, 2009.

  1. #1
    Hey guys,

    I need to have my site to do something which will need some code i just dont know.

    What I need is for my page to always say www.domain.com in the address bar but if the user is from usa the page he sees will be www.domain.com/usa and a user from the uk will receive the page www.domain.com/uk and every other user will just see www.domain.com/other

    is there any way to do this and still have them all seeing www.domain.com in the address bar?

    thanks for any help guys
     
    marcusio, Aug 19, 2009 IP
  2. jamespv85

    jamespv85 Peon

    Messages:
    238
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    how about mod_rewrite?
     
    jamespv85, Aug 20, 2009 IP
  3. newlogo

    newlogo Peon

    Messages:
    3,931
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks for sharing
     
    newlogo, Aug 20, 2009 IP
  4. prasanthmj

    prasanthmj Member

    Messages:
    62
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    45
    #4
    You will have to subscribe to a IP->location service along with a script that uses the service to do this.
    Sorry I can't post a link yet
     
    prasanthmj, Aug 20, 2009 IP