//flex table opened by JP

Click to See Complete Forum and Search --> : how do I set up a web redirect?


bdog
09-03-1999, 03:11 AM
I recently moved a web page from one server to another, but want to still be able to use the old address, I know I could put a page with a link to the new site on the old server, but is there a way to do this tranparently? ie when they type www.x.com they automatically get sent to www.y.com?

Gentle Giant
09-03-1999, 02:36 PM
Without going through your old server. Simply - NO. Contact your old server and setup something with them to redirect and notify the web traveler of the new address.

[This message has been edited by Gentle Giant (edited 09-03-99).]

Comtech
09-03-1999, 03:13 PM
Yes, there is...just a sec, and I'll get the answer...

Comtech
09-03-1999, 03:13 PM
Yes, there is...just a sec, and I'll get the answer...

<meta http-equiv="Refresh" content="put the new page URL here>


[This message has been edited by Comtech (edited 09-03-99).]

bdog
09-03-1999, 04:53 PM
Thanks for the replies. So I just put an index.html file on the old server with the text <meta http-equiv="Refresh" content"www.y.com"> is this right?

bdog
09-03-1999, 05:39 PM
I just tried comtechs command and it didn't work /forum/frown.gif Maybe I enterd it wrong, any suggestions??

Gentle Giant
09-03-1999, 10:19 PM
Put between <head></head>
<META HTTP-EQUIV="Refresh" CONTENT="3;URL=http://www.some.org/some.html">

Im sorry I didnt understand your post - Comtech is right but with these additions. 3 = the time it waits in seconds before moving on to new site. Comtech doesnt have qoute at the end of redirect site. you will want to put a link on the first site incase someones browser wont auto-redirect.

You can also use this script in the body:
<SCRIPT LANGUAGE="JavaScript">
<!--
{location.href="others.html";}
//-->
</SCRIPT>
It will seemlessly jump to new URL but some browser may have java off or not support it.


[This message has been edited by Gentle Giant (edited 09-03-99).]