Welcome to WebmasterWorld Guest from 18.204.227.250

Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Seek assistance: google indexing javascript?

     
12:36 am on Feb 1, 2006 (gmt 0)

Full Member

10+ Year Member

joined:June 28, 2000
posts:280
votes: 0


With the last update, it looks as if Google has read our company's javascript code and has indexed false web pages. Specifically, our company uses websidestory for tracking purposes and at the top of our pages we have the following code (edited slightly):

<!--WEBSIDESTORY CODE HBX1.0 (Universal)-->
<script language="javascript">
var _hbEC=0,_hbE=new Array;function _hbEvent(a,b){b=_hbE[_hbEC++]=new Object();b._N=a;b._C=0;return b;}
var hbx=_hbEvent("pv");hbx.vpc="HBX345435";hbx.gn="ehg-OurCompanysCode.hitbox.com";

With this last update, Google has read this javascript text and believes we have the following html pages:

[ourdomain.com...]
[ourdomain.com...]
[ourdomain.com...]

For some reason Google is mistakely thinking that OurCompanysCode.hitbox.com is a folder on our website, but in fact its only a tracking code used by websidestory...

has anyone else seen this by chance? Anyone know how this might be fixed? Should we just wait out the storm and see if the Google spider figures it out?

Any thoughts would be greatly appreciated.

11:22 am on Feb 1, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member kaled is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 2, 2003
posts:3710
votes: 0


I don't see why a spider should be confused but you might consider blocking these non-existent pages using robots.txt

I would also report the error to google.

Having said that, if the code is used on many pages, it could be placed in an external .js file - that should fix it.

Kaled.