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

redirecting a site

Status
Not open for further replies.

soum

Programmer
Oct 18, 2000
91
BE
Hello
I have a site made with front page on an adress i would like to keep,but with a lot of banners.The other adress is free of banner but i don't like the name.How can redirect everybody on the second adress?On my first page i am also using Flash.
Thanks
 
Try something like this on your first page :-
[tt]
<head>
<META HTTP-EQUIV=&quot;Refresh&quot; CONTENT=&quot;3; URL=http://www.secondpage.com&quot;>
<title>Redirection</title>
</head>
<body>
If you are not automatically redirected to Second Page, then click here ...
<a href=&quot;</body>
</html>
[/tt]
One by one, the penguins steal my sanity.
 
You could also try the Javascript solution. Put this in the <head>

<script language=&quot;JavaScript&quot;>
location.replace(&quot;nextpage.htm&quot;);
</script>

Cheers,

Tom
 
Thanks a lot for your help .i'll try today
 
Thanks a lot for your help it did work very well!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top