Question : Meta redirect question

I have a simple question.  We are trying to redirect only the index page on a Web site to another Web site, but not any of the interior pages.  I'm very much a novice and am trying to put variations of the following in the code on the index page, but I can't find the correct script.

<%
response.redirect /index.asp http://www.example.org/
%>

Answer : Meta redirect question

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
using PHP:

<?php

header("Location: http://www.example.org");

?>

using Javascript:

<script language="Javascript">
 windows.location = "http://www.example.org";
</script>

using ASP:

<%
Response.Redirect "http://www.example.org"
%>

using HTML:

<html> 
    <head> 
        <meta http-equiv="refresh" content="0; url=http://www.example.org"> 
    </head> 
    <body> 
        Redirecting you now... 
    </body> 
</html>
Random Solutions  
 
programming4us programming4us