Saturday 16 April 2011

Make Auto Redirect From Your Old Site To New Site




Suppose http://samazgor.co.cc/ was your old websiteBut 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

 

Copyright 2008 All Rights Reserved | Hackers-tips Designed by Bloggers Template | CSS done by Link Building