Automatic Page Refresh - How do I?

Brooke's picture

She has: 681 posts

Joined: Feb 1999

Hi everyone...I have a page that I need to create, so that when the home page appears it will have a welcome notice and then automatically take the visitor to a new page.

I first need to know if this is okay to do as far as the search engines are concerned...

And I need to know how to do this?

Can anyone help?

TIA!

Brooke

----------
Providing quality websites for
businesses and individuals!

They have: 2,390 posts

Joined: Nov 1998

To refresh the page put this is the head command (replace time in seconds):
<META HTTP-EQUIV="refresh" CONTENT="time in seconds; URL=http://www.etc.com">

Re: the SE's - it is not advisable, but as long as you keep the refresh over 30 seconds I think you can get away with it.
JP

----------
The Webmaster Promotion and Resource Center.
http://www.what-next.com

They have: 29 posts

Joined: May 1999

Any Idea why this isn't working?

<HTML>
<HEAD>
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=0,scrollbars=yes,menubar=no' );
}
//-->
</SCRIPT>
<META HTTP-EQUIV="refresh" CONTENT="1"; URL="javascript:displayWindow('chatroom.html',640,450)">
</HEAD>
</HTML>

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

Is it the refresh tag or the script that is giving you the problem?

----------
John Pollock
http://www.pageresource.com

They have: 5,633 posts

Joined: Jan 1970

what i think is, you got problems with the refresh....
just have a look at the code, solobox wrote and you'll find out what's wrong! Wink
cu
patrick
btw: it's the part behind "content"

Brooke's picture

She has: 681 posts

Joined: Feb 1999

Thanks for the code JP! It worked great! I really appreciate the help!

Brooke

----------
Providing quality websites for
businesses and individuals!

They have: 2,390 posts

Joined: Nov 1998

Patrick, you're confused Smiling
The code I wrote works (bar the explantion which Brooke figured out) Solobox has the problem.
Pay attention man! Smiling
JP

----------
The Webmaster Promotion and Resource Center.
http://www.what-next.com

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

Solobox:

Patrick caught it before I did, write the meta tag this way and it should work:

<META HTTP-EQUIV="refresh" CONTENT="1; URL=javascript:displayWindow('chatroom.html',640,450)">

Get it all on one line, the forum box adds a line break. Smiling

----------
John Pollock
http://www.pageresource.com

They have: 359 posts

Joined: Mar 1999

Brooke,

RE: Search Engines Check out that pamphlet that comes with Web Position. It has info on using Meta refresh. On engines like Alta Vista where you just submit one page and it spiders the rest, you could just submit the target page and skip the intro page. Just a thought.

----------
Dan
http://cds-computers.com

Dan
Recycle Video Games Network

Stupidity killed the cat, curiosity was framed!

They have: 359 posts

Joined: Mar 1999

Brooke,
Was just browsing at searchenginewatch.com and I ran across this statement.

The meta refresh tag is one typical way of doing this. Some search engines will refuse to index a page with a high meta refresh rate. Infoseek will not index
pages with any redirection, whatsoever.
----------
Dan
http://cds-computers.com

Dan
Recycle Video Games Network

Stupidity killed the cat, curiosity was framed!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.