Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Googlebot's Screen resolution > 1153?

         

Powdork

4:32 pm on May 19, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



i have a client with a 7 page site. Each page contains this little snippet of javascript

<!--
if (screen.width >= 1153) { window.location="big/index.html";
}
-->

the content on the pages in the big folder is identical to that on the respective pages that aren't in the big folder, but with bigger pictures. all the pages in the big folder contain noindex tags. recently, after ranking well for many years, the seven pages that had been correctly indexed all along were removed. I can only assume Googlebot started following the javascript and then removed the indexed pages when it got to the noindex tag.
any ideas on what to do next. i don't want to remove the noindex tags, because that will open another can of worms. i do have another site waiting in the wings which won't have the two different directories and should solve the problem, but the client is dragging her feet.

tedster

8:04 pm on May 19, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Googlebot doesn't "have a screen resolution" it just stores data. But Google's analysis does read javascript these days, so you may have a tangle going there. If it were my website, I'd feel safer using a robots.txt disallow directive in addition to the robots meta tag.

I'd definitely verify that you regular files (not the "big" ones") have not somehow been technically excluded from spidering by accident - or even hacked.