Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redirect Page automatically

Status
Not open for further replies.

McFestoe

Technical User
Dec 16, 2003
145
GB
The company that host my web site does not at the moment do redirecting, i have just bought another .co.uk name and want to make a page that when loaded automatically after a couple of seconds sends you to my main site.

Is this possible, i have tried hyperlinks but think if the user has to click on something they may miss, then they might never get to my main site.

Any ideas.

Working in FP 2002

Thanks

 
Try this:
Code:
<HTML>
<HEAD>
<SCRIPT language="JavaScript1.1">
<!--
location.replace("[URL unfurl="true"]http://www.new.site/page.html");[/URL]
//-->
</SCRIPT>
<NOSCRIPT>
<META http-equiv="Refresh" content="0; URL=http://www.new.site/page.html">
</NOSCRIPT>
</HEAD>
<BODY>
This page has moved to a <A href="[URL unfurl="true"]http://www.new.site/page.html">new[/URL] location</A>.
</BODY>
</HTML>
This will help to ensure it goes over to the correct place. I usually use this.

__________________________
Corey

 
Corey

Thanks for the post will try and post back


Richard
 
you can do it this way as well:

<META HTTP-EQUIV="REFRESH" CONTENT="2; URL=
change count="2 to how ever long you want in sec and put your domain in where the http:// is.

put this in the <head>

hope this helps i use this one every day.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top