Redirect to a Different URL using the Meta Tag “Refresh”

You may need to redirect people to a different page because a URL has changed or was incorrect when printed or released.

By using the “refresh” tag you can easily let the user know the correct new URL and can automatically redirect them to the new page.

The refresh tag can also help you to make your site more user-friendly; if the correct URL is easy to misspell or confusing, you can make sure that users get to the right page by providing a page at the “wrong” address that will automatically redirect them to the correct URL.

Sample Code
Note that meta tags go in the <HEAD> </HEAD> section of the HTML document.

<html><head> <title>IU Webmaster redirect</title>
<META http-equiv="refresh" content="5;URL="></head>
<body bgcolor="#ffffff">
<font size="4">This is a King computer solutions client not currently running a website.
<p><font size="4">You will be redirected to our King web information page in 5 seconds.
</font> </p>
<p><font size="4">Or you can click on the link below to see a full range of our services</font></p>
<p><a href=><font size="4"></font></a><font size="4">
</font> </p>
</center> </body> </html>

Also, text within the title tag plays an important role in putting your web pages to rank high for searches. Therefore it is important to change the text within the title tags.

You can change the amount of time that this redirecting page is displayed by changing the number in the refresh content=”5 portion of the meta tag statement. If you want to have your visitors automatically taken to the correct page, then set the number equal to zero.

If you would like to use a redirecting page because a URL has changed, simply replace the document at the original location with one that redirects users to the new URL. It’s a good practice to indicate that the redirecting page will only be provided for a limited time and urge visitors to bookmark the new location.

Not all browsers support the Meta “refresh” function, so it’s always a good idea to include a clickable link to the new or correct URL.