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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I redirect a page? 1

Status
Not open for further replies.

ZPlay

Technical User
Jan 10, 2002
24
US
I am using Frontpage 2000 and need to automatically redirect from one page to another. Both pages are in the same site. I have tried a few different ways some work on my computer but none have worked from the server hosting my site. I have already tried the following:

this.location = "kids/main.htm"

this.location.href = "kids/main.htm"

window.location ="kids/main.htm"

I even tried using:

<form name=&quot;frmRD&quot; action=&quot;kids/main.htm&quot;>
<script language=&quot;javascript&quot;>
setTimeout(&quot;frmRD.submit()&quot;,1000)
</script>

But they all come up with page not found. Anyone have any ideas as to how i can make this happen?
 
Try:
<meta http-equiv=&quot;refresh&quot; content=&quot;5;URL=index.htm&quot;>

The 5 being number of seconds to wait. index.htm being the name and location of your file. But you are getting page can't be found. Make sure the path is correct.

This goes between your head tags. DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic
 
Thanks DeZiner. I'll give it a try right now. Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top