PHP Redirect WP Plugin Where They Actually Go To The Site Then Are Re-Directed After A Specific Time

2 replies
Hey Warriors,

I am currently using the Quick Page/Post Redirect Plugin for WP which works great for them re-directed without ever landing on the original page before being redirected.

I am looking for a plugin that allows me to have them go to my Thank You page and stay on the page for about 10 seconds and then automatically be re-directed to the offer I am promoting. I want them to see the actual Thank You page before being re-directed to my offer. Thanks for any suggestions in advance

Jamie Kochan
#php #plugin #redirect #redirected #site #specific #time
  • Profile picture of the author Dan Grossman
    You have to do this in JavaScript or with a meta refresh, not PHP; PHP cannot affect what happens in the browser after the HTTP response (the page is shown).

    In the body of the thank-you page:

    Code:
    <script type="text/javascript">
    
    setTimeout(function() { 
        window.location = "http://www.example.com/somepage.html"; 
    }, 10000);
    
    </script>
    Or, in the head:

    Code:
    <meta http-equiv="refresh" content="10;url=http://www.example.com/somepage.html" />
    Signature
    Improvely: Built to track, test and optimize your marketing.

    {{ DiscussionBoard.errors[7022129].message }}
    • Profile picture of the author Jamie Kochan
      Hey Dan,

      Thanks for tip! I just sent you a PM had one other quick question.

      Jamie
      Signature
      Sick And Tired Of Losing At The Game Of Making Money Online? Then Check Out 5 Minute Mogul Today!
      {{ DiscussionBoard.errors[7022612].message }}

Trending Topics