how create html redirect after 5 secconds , match same path
example:
redirect: www.oldsite.com/post123 www.newsite/post123
i have tried code redirects home page
<html> <head> <meta http-equiv="refresh" content="3;url=http://www.somewhere.com/" /> </head> <body> <h1>redirecting in 3 seconds...</h1> </body> right im using htaacess
<ifmodule mod_rewrite.c> rewriteengine on rewritebase / rewritecond %{http_host} ^.*bberryblog.com$ rewriterule ^$ http://unionmovil.com/category/blackberry [r=301,l] rewritecond %{http_host} !(www).unionmovil.com rewriterule ^(.*)$ http://www.unionmovil.com/$1 [r=301,l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule . /index.php [l] </ifmodule> but want perform via html after 5 secconds redirect
if you're using javascript can write function like:
var myvar=setinterval(function () {mytimer()}, 3000); function mytimer() { window.location="www.newsite/post123" } here set interval function tell run function every given seconds, set 3 seconds (3000). direct window new location within function
Comments
Post a Comment