Auto-redirecting Methods

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Indiabook
    Junior Member
    • Jul 2004
    • 5

    Auto-redirecting Methods

    Auto-redirecting is the technique of automatically sending a site visitor to another page once s/he has landed on a page. How it can be done Can anybody tell me the codes for it
  • Indiabook
    Junior Member
    • Jul 2004
    • 5

    #2
    There are few methods like:

    The "Meta Refresh Tag" method

    <head>
    <meta http-equiv="refresh" content="5;url=pagename.html">
    </head>



    The "Javascript" method

    <head>
    <script language="javascript"><!--
    location.replace("pagename.html")
    //-->
    </script>
    </head>

    The "Form" method

    <head>
    <script language="javascript"><!--
    document.myform.submit()
    //-->
    </script>
    ...other head section stuff (Title, Description,etc.)...
    </head>
    <body>
    <form name="myform" action="pagename.html" method="get"></form>
    ...rest of the page...

    More information you can get at:

    This website is for sale! seo-lab.com is your first and best source for all of the information you&#8217;re looking for. From general topics to more of what you would expect to find here, seo-lab.com has it all. We hope you find what you are searching for!
    Last edited by megri; 07-31-2004, 07:23 PM.

    Comment

    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎