header
 
     
 
pixel
pixel pixel

Redirect a URL using HTML

You can redirect a visitor to a new URL using simple HTML. It'd done with a meta tag in the HTML header:
<html>
    <head>
        <meta http-equiv="refresh" content="0; url=http://www.redirecturl.com">
    </head>
    <body>
        Redirecting you now...
    </body>
</html>

Unhelpful Helpful Rating 4.2 (score out of 5, no. of ratings: 74)
Comments
Comment by Ping on 2005-07-29
This is very helpful...thanks

Comment by RK on 2005-09-01
Very helpful! I've used javascript do do the same in the past - this seems much shorter. Thanx!

Comment by aaron on 2005-09-03
when i used this, it kept refrshing the page and wouldn't stop.

Comment by MG on 2005-09-08
aaron, if the page you are redirecting to also has this meta header it will do exactly as you describe.

Comment by gtewa on 2006-03-08
thanks

Comment by james on 2007-08-01
its realy useful Thanks!

Comment by Bj on 2007-11-15
Just what I needed to know, many thanks!

Comment by YourNewFriend on 2007-12-11
Thank you

Comment by sparrowhawk on 2008-01-15
this is very useful! Thank you very Much!

Comment by AB on 2008-03-03
Thanks, You helped a lot

Post a Comment
Name
Email
(optional)
Comment
RatingUnhelpful Helpful
Security Image* (this is just to prevent spam submissions)
Security Image