title: redirect from one site to another site url after a delay of few seconds
body: <p>I have a requirement, wherein  when endusers access a siteurl say , 
  <a href="https://myOld_SP2010_Site.com/sites/xyz" rel="nofollow noreferrer">https://myOld_SP2010_Site.com/sites/xyz</a> 
  i  would like to redirect them my new site, say 
  <a href="https://myNEW_SPO_Site.com/sites/xyz" rel="nofollow noreferrer">https://myNEW_SPO_Site.com/sites/xyz</a> after staying on the old site home page for few seconds.<p>
  How this can be achieved? though i tried the below code refer <a href="https://stackoverflow.com/questions/8824141/how-to-redirect-from-one-url-to-another-url%20%20HERE">HERE</a>  , it is not staying for a few seconds on the old site :</p>
  
  <pre><code>&lt;script&gt;
      if(window.location.href == 'old_url')
     {
       window.location.href="new_url";
     }
  &lt;/script&gt;
  </code></pre>