Do you know how to use HTML redirect to send your visitors to another page automatically? If you need to redirect your visitors to a new page, then this HTML redirect code may help you to do so.
When doing web site, there’s possibility that you may change the url of a web page. If your web page is popular, then your visitors may have already linked to it. However, if your webpage still new then it is recommended to replace your page with a new page that will redirect your visitors to the new page. This is to prevent you from losing your traffic.
Place this code inside the head section of your HTML code:
The parameters:
The “http-equiv” parameter set to “refresh”. This parameter tells the browser the content must be refreshed.
The “content” parameter defines when to refresh the content. The content=”0; is a delay before the redirection is performed. This time interval is in seconds.
Besides that, you can define your alternative url here. If the content has no url then your page will be simply refreshed. However, if you define an url, then the url will be displayed after the delay has over.
Example:
<head>
…
<meta http-equiv=”refresh” content=”3;url=http://www.imDavidLee.com“>
…
</head>
<body>
This page will be redirected in 3 seconds!
</body>
</html>
The redirecting page will be displayed during 3 seconds. After 3 seconds delay, it will be replaced by “http://www.imDavidLee.com“.
Advantages of HTML Redirect
This redirecting page is visible to most users and Google will index both the redirecting page as well as the page pointed to by the redirection.
Most URL redirection services uses 301 redirect which is permanent redirect directive to forward the browser to the actual URL. This has the added advantage of passing the page rank to the destination URL.
By Archie on Jun 20, 2009 | Reply
good info hehehe
By Mary on Jun 24, 2009 | Reply
Pretty nice post. I just came by your site and wanted to say
that I have really liked reading your blog posts. Anyway
I’ll be subscribing to your feed and I hope you post again soon!
By Jayce on Jul 17, 2009 | Reply
I use redirect on the old website and use it to point to the new website. From http://prettygirl.jayceooi.com to http://PrettyGirl2u.com
A very nice function.
By payday loans on Aug 28, 2009 | Reply
I liked codebasic.net a lot. It has lots of useful info. This article is very professionally written. codebasic.net I will be back for sure.