Title: Redirection after time
Last modified: July 24, 2018

---

# Redirection after time

 *  Resolved [lgustaw](https://wordpress.org/support/users/lgustaw/)
 * (@lgustaw)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/redirection-after-time/)
 * 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](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/redirection-after-time/#post-10525580)
 * No, that’s not possible for a server redirect. You would need to implement it
   in JavaScript in the web page.
 *  Thread Starter [lgustaw](https://wordpress.org/support/users/lgustaw/)
 * (@lgustaw)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/redirection-after-time/#post-10525700)
 * Thx I used
 *     ```
       <script>
       //Using setTimeout to execute a function after 5 seconds.
       setTimeout(function () {
          //Redirect with JavaScript
          window.location.href= 'http://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.

 * ![](https://ps.w.org/redirection/assets/icon-256x256.jpg?rev=983639)
 * [Redirection](https://wordpress.org/plugins/redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirection/reviews/)

## Tags

 * [delay](https://wordpress.org/support/topic-tag/delay/)
 * [time](https://wordpress.org/support/topic-tag/time/)

 * 2 replies
 * 2 participants
 * Last reply from: [lgustaw](https://wordpress.org/support/users/lgustaw/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/redirection-after-time/#post-10525700)
 * Status: resolved