how to re-direct from a HTML page?

  • Thread starter Thread starter webmaster
  • Start date Start date
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
 
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
|
|
 
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
|
|
 
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
|
|
 
oops sorry. I'm just learning asp, but I think you'd use Response.Redirect().
wait for asp guy to respond though.
my appologies for mis-reading your initial msg.

R :-(

| 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
| |
| |
|
|
 
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®"
 
<%
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
: |
: |
:
:
 
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®"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top