2010-08-05

Auto-Redirecting

HOME||CONTENTS

Auto-redirecting is a simple technique of automatically sending visitors of a website to another website or web page that has a different URL address without the need to click a link. There may be some delay of a few seconds or it can be instantaneous, depending on the codes you are going to use.

Auto-redirecting is very useful for SEO purposes. You can use multiple, highly optimised URL addresses with names that are easy to recall and then point them all to your actual website. Auto-redirecting is also very useful if you have transferred the contents of your original website to a new URL address but you intend to keep the former address.

It would be impractical to delete a former URL address if it already has a good SEO ranking and has multiple back links. For instance, if you have a blogsite that already has back links from your various friends in the blogosphere it would be a waste of time and effort to again contact all the bloggers or website owners who have previously linked with your original site. Without auto-redirecting, you would again be starting from scratch.

Here is an example: Reasonable Doubt. If you click on this link it will open my old blogsite but after a few seconds, it will automatically redirect you to the new blogsite to which I have transferred the contents of the old blogsite.

To integrate an auto-redirecting feature in your old blogsite or website, there are three codes that you can use, namely, the “meta” codes, the “javascript” codes and the “form” codes. You can only use one set of codes at a time. Just copy-paste the highlighted codes in the specific section of your HTML template as indicated below. Simply replace the "pagename.html" with the new URL address.


The Meta Codes

<head>
...head section stuff (Title, Description,etc.)...
<meta http-equiv="refresh" content="5;url=pagename.html">
</head>


The Javascript Codes

<head>
<script language="javascript"><!--
location.replace("pagename.html")
//-->
</script>
...other head section stuff (Title, Description,etc.)...
</head>


The Form Codes

<head>
<script language="javascript"><!--
document.myform.submit()
//-->
</script>
...other head section stuff (Title, Description,etc.)...
</head>
<body>
<form name="myform" action="pagename.html" method="get"></form>
...rest of the page...

Check Page Rank of any web site pages instantly:
This free page rank checking tool is powered by Page Rank Checker service