Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Javascript Refresh

Will bots crawl this page



9:23 am on Aug 20, 2003 (gmt 0)

10+ Year Member

Given that most bots including google donít follow a redirect created by javascript, would the bot follow the links on the page where the redirect code is on?

For instance, I have several good pages of links pointing to the rest of my site but these have no content. I'm thinking of using a JavaScript redirect on these pages to send the user back to the home page if he stumbles across these pages:

<script language="JavaScript" type="text/javascript">

But I do NEED google to crawl these pages to follow the links. So will google do just that or see the page as a problem?

Any insight greatly appreciated.


9:55 am on Aug 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

There is a question as to whether Google even indexes JavaScript yet (Link [webmasterworld.com]), so I'm perrty sure it doesn't execute it. But if a human reviewer checks your pages they will see what is happening rather quickly and you could get penalized for cloaking I think.



10:03 am on Aug 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

I'm quite sure that Gbot and all the other bots will index that page even if you put a javascript location redirect in it. This is independent of whether the javascript gets read or not, as it still will not be executed.

They will not get thrown back to your home page instantly like the users that have javascript enabled. Users without javascript enabled will also see the page though.



Featured Threads

Hot Threads This Week

Hot Threads This Month