how to re-direct from a HTML page?

W

webmaster

Hi,
I know there is an ASP line that you can place in your HTML page to
re-direct people to another URL... just can't remember it. Anybody knows the
line?

Thanks
 
W

webmaster

Thanks but - actually this is not what I am trying to accomplish... I want
to use the ASP code instead of META tags, then it is completely transparent.


ps...you really don't want it set to 0 seconds !



Place the following as the page at the OLD URL, substituting the URL of
the new location at the 2 places marked NEW_LOCATION below. The META
tag should redirect automatically. (the "content="0;" portion means
redirect after 0 seconds.) If not, clicking on the second instance
should force the redirect.

<html>
<head>
<meta http-equiv="refresh" content="0; URL=NEW_LOCATION">
<title>New Location Redirector Page</title>
</head>
<body>
<p align="center">This web page has moved to a <a
href="NEW_LOCATION">new
location</a></p>
<p align="center">Please make a note of the new address and change any
links you
may have on your web site.</p>
<p align="center">You will automatically be transferred to the new
location in
about 15 seconds, if you don't, click on the link above.</p>
</body>
</html>


| Hi,
| I know there is an ASP line that you can place in your HTML page to
| re-direct people to another URL... just can't remember it. Anybody knows
the
| line?
|
| Thanks
|
|
 
C

Craig

I think that your looking for the
response.redirect "yourpage.htm" or "yourpage.asp"
-Craig
-----Original Message-----
Thanks but - actually this is not what I am trying to accomplish... I want
to use the ASP code instead of META tags, then it is completely transparent.


"Crash Gordon®"
ps...you really don't want it set to 0 seconds !



"Crash Gordon®"
 
M

Mike Mueller

<%
Response.Redirect "www.url.com"
%>


Mike


message : Thanks but - actually this is not what I am trying to
accomplish... I want
: to use the ASP code instead of META tags, then it is
completely transparent.
:
:
: "Crash Gordon®"
: : ps...you really don't want it set to 0 seconds !
:
:
:
: "Crash Gordon®"
: : Place the following as the page at the OLD URL,
substituting the URL of
: the new location at the 2 places marked NEW_LOCATION
below. The META
: tag should redirect automatically. (the "content="0;"
portion means
: redirect after 0 seconds.) If not, clicking on the second
instance
: should force the redirect.
:
: <html>
: <head>
: <meta http-equiv="refresh" content="0; URL=NEW_LOCATION">
: <title>New Location Redirector Page</title>
: </head>
: <body>
: <p align="center">This web page has moved to a <a
: href="NEW_LOCATION">new
: location</a></p>
: <p align="center">Please make a note of the new address
and change any
: links you
: may have on your web site.</p>
: <p align="center">You will automatically be transferred to
the new
: location in
: about 15 seconds, if you don't, click on the link
above.</p>
: </body>
: </html>
:
:
message
: : | Hi,
: | I know there is an ASP line that you can place in your
HTML page to
: | re-direct people to another URL... just can't remember
it. Anybody knows
: the
: | line?
: |
: | Thanks
: |
: |
:
:
 
W

webmaster

Thanks--

I think that your looking for the
response.redirect "yourpage.htm" or "yourpage.asp"
-Craig
-----Original Message-----
Thanks but - actually this is not what I am trying to accomplish... I want
to use the ASP code instead of META tags, then it is completely transparent.


"Crash Gordon®"
ps...you really don't want it set to 0 seconds !



"Crash Gordon®"
 
Top