Wednesday, December 21, 2011

Automatically redirect your visitors to your new home page

So you changed your URL and wondering how to automatically redirect your visitors to the new location. Simply put the following HTML tag in-between <HEAD> and </HEAD> tags:

<meta http-equiv="refresh"
content="<delay before redirecting>;
URL=<URL>">

For example:

<HTML>

<
HEAD>
<
TITLE>I moved!!!</TITLE>
<
META HTTP-EQUIV="refresh" CONTENT="10;URL=http://my.newplace.com/">
</
HEAD>

<
BODY>

I moved to a new place.
Your browser should automatically take you there in 10 seconds. If it doesn't plase go to http://my.newplace.com/

</
BODY>

</
HTML>

0 comments:

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Best Web Hosting