Forum Moderators: open

Message Too Old, No Replies

html redirect

Can I do it without showing the original page?

         

ShootinBlanks

12:21 am on Jun 1, 2004 (gmt 0)

10+ Year Member



I'll apologize now if this question is to stupid for this forum, but I just can't seem to figure it out. Here's the problem:
I want to send visitors from one page to another, but the code I'm using displays the first page briefly before loading the second. Here's the code I've inserted in the <HEAD>

<!-- Begin ReDirect Command -->
<meta http-equiv="refresh" content="0;url=http://mysite/mypage2.html">
<!-- End ReDirect Command -->

While it works, it's really annoying to have that first page flash on the screen. Is there a way to get the redirect to not display the first page but instead jump directly to the second one?

bill

2:52 am on Jun 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



A 301 RedirectPermanent set in your .htaccess file will work the way you describe

ShootinBlanks

4:17 am on Jun 1, 2004 (gmt 0)

10+ Year Member



Thanks, Bill, I was hoping to not have to go there, but I guess that would be the best way. Appreciate the tip.