How do I make an HTML redirect page?

To create an HTML redirect, place the following code between the <head> and </head> tags.

<meta http-equiv="Refresh" content="5; url =/html/tags.html">

In the above example, the page will redirect to the specified page in 5 seconds (as indicated in the content attribute).

The following HTML redirect code will redirect your visitors to another web page instantly.

<meta http-equiv="Refresh" content="0; url=http://www.yourdomain.com/index.html">

It is recommended that a standard link be added in the page for the few users of browsers that do not automatically follow redirections.

  • 5 Users Found This Useful
Was this answer helpful?