Skip to main content
Participant
March 25, 2009
Question

URL Function

  • March 25, 2009
  • 1 reply
  • 268 views
I have two domain names pointed at the same root URL. If a person used one domain name to arrive at the site I want to redirect them to a specific page. I know how to do the redirect but for the life of me I can't find a function that will give me the url. Does anybody know how I can retrieve the domain name used to arrive at the site?
    This topic has been closed for replies.

    1 reply

    tclaremont
    Inspiring
    March 25, 2009
    Look at #CGI.HTTP_REFERER#