How to wait 5 minute then redirect to outside link?

Discussion in 'HTML & Website Design' started by manrock111, Feb 20, 2010.

  1. #1
    <a href="http://www.psp-.tk/psp.php?583">http://www.psp-.tk/psp.php?583</a>

    Visit Above link my question is how to implement 5 seconds redirection like above site in my wordpress. that site also on wordpress based.

    I want to implement this so i can force visitor to see specific page 5 seconds or 10 then redirect to the url which actuallt have file.


    I hope you understand, please help in detail if u can.
     
    Last edited: Feb 20, 2010
    manrock111, Feb 20, 2010 IP
  2. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #2
    This is PHP code so you will have to edit it to make it pure html if that is what you want.

     echo "You will now be redirected to the main Page</b></font></center> <META HTTP-EQUIV = 'Refresh' Content = '5; URL =" . $sitebase ."index.php'> ";
    PHP:
    In this example $sitebase is defined in a the config file which is the full url where you wish to direct the page load to.

    This is not good code to use if you have adsense on the page.
     
    Colbyt, Feb 20, 2010 IP