Suppose http://samazgor.co.cc/ was your old website. But now you register a TK domain ishttp://samazgor.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.

Old style:
<html>
<head>
<title>We have moved</title>
</head>
<body>
<h1>We have moved</h1>
<p>please go to <a href="http://www.samazgor.tk">www.samazgor.tk</a> or <a href="http://www.samazgor.tk">click here </a></p>
</body>
</html>

New style:
<html>
<head>
<title>redirect</title>
<body onload="window.location.href='http://www.samazgor.tk'">
</body>
</html>
NOTE: Replace your URL to the red color.
0 comments:
Post a Comment