Bloggers - Meet Millions of Bloggers

Make Auto Redirect Your Old Site To New Site

Suppose http://example.co.cc/ was your old website. But now you register a TK domain is http://example.tk/ and replace old to new. At that moment what should you do?
Yes, Some people will make a notice board on home page of old site by HTML. Now a days it is easier for us by using javascript. I give both HTML and Javascript.
Make Auto Redirect Your Old Site To New Site
Old style:
 
<html>
<head>
<title>We have moved</title>
</head>
<body>
<h1>We have moved</h1>
<p>please go to <a href=”http://www.example.tk“>www.example.tk</a> or <a href=”http://www.example.tk“>click here </a></p>
</body>
</html>

Make Auto Redirect Your Old Site To New Site
New style:
 
<html>
<head>
<title>redirect</title>
<body onload=”window.location.href=’http://www.example.tk‘”>
</body>
</html>
 
NOTE: Replace your URL to the red color.

Take 5 Second And Spread World

Stay Connected With Free Updates

Subscribe via Email

0 comments:

Related Posts Plugin for WordPress, Blogger...