Javascript redirect of a standard html page
Last Post 17 Oct 2013 04:27 PM by SuperUser Account. 0 Replies.
Author Messages
SuperUser AccountUser is Offline
New Member
New Member
Posts:17


--
17 Oct 2013 04:27 PM
    Insert this code into your header so it looks as follows:

    <head>
    <script type="text/javascript">
    <!-- window.location.replace("http://www.chinookwebs.com");
    //-->
    </script>
    </head>

    Replace www.chinookwebs.com with your domain and make sure this script is the first thing loaded after the opening head tag.

    See how this works? go to www.chinookwebs.com/testredirect.htm and it will send you to www.chinookwebs.com/testtarget.htm


    ---