Pages

Wednesday, January 4, 2012

Redirect One website to another website automatically

Redirect One website to another website

Introduction : In this article i will show how to redirect one website to another website . Many times we require that some one visit  www.xyz.com  then he should be redirect to another site for that you need add peace of java-script code and it automatically redirect to another site .

<head runat="server">
    <title></title>
    <script language="javascript" type="text/javascript">
       location.replace("http://www.google.com");         
    </script>
</head>


Related Other posts