• Resolved lgustaw

    (@lgustaw)


    Is it possible for the redirect to work only after the set time?
    I want it to redirect it to a different page after entering a specific page, but only after, for example, 10 seconds

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Godley

    (@johnny5)

    No, that’s not possible for a server redirect. You would need to implement it in JavaScript in the web page.

    Thread Starter lgustaw

    (@lgustaw)

    Thx I used

    <script>
    //Using setTimeout to execute a function after 5 seconds.
    setTimeout(function () {
       //Redirect with JavaScript
       window.location.href= 'https://thisinterestsme.com/php-forcing-https-over-http/';
    }, 5000);
    </script>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Redirection after time’ is closed to new replies.