Does anybody know how to code this up?

Discussion in 'PHP' started by Seqqa, Feb 8, 2012.

  1. #1
    I'm after a script that'd redirect to another URL with the the page URL in it but when it's redirected once it doesn't redirect again like sets a cookie or something, I'd also like a 30 second delay on the script.

    + rep if anybody can help.
     
    Seqqa, Feb 8, 2012 IP
  2. Herpsy

    Herpsy Member

    Messages:
    40
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    43
    #2
    why dont you just duplicate the content on the second domain and set a meta refresh html tag on the first? If you are just looking to redirect one domain to another then do a 301 in htaccess?
     
    Herpsy, Feb 8, 2012 IP