Forum Moderators: martinibuster

Message Too Old, No Replies

How to tell Google to not index part of your page

Using comment tags so the AdSense bot ignores undesirable text

         

Southman

12:26 pm on Oct 13, 2008 (gmt 0)

10+ Year Member



A previous thread looked at ways to let Google's AdSense robot know that certain parts of a page should not be indexed ([webmasterworld.com ]):

<!-- google_ad_section_start(weight=ignore) -->
Text to be ignored by Google
<!-- google_ad_section_end -->

Having experimented with this, I need to caution that you need to make sure your HTML editor/uploader (eg Frontpage, etc.) is not set to strip out the HTML comments! I wondered for a while why the tags were not working, until I realised that they never made it to the web server...

S

fredw

4:53 pm on Oct 13, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Also please note it could take a LONG time, weeks in some cases, for it to appear that your google ad tags have taken effect, because you have to wait for your page to be spidered again, and there's no great way to force that to happen.

eeek

4:55 am on Oct 14, 2008 (gmt 0)

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



you have to wait for your page to be spidered again, and there's no great way to force that to happen.

A sitemap might help.

fredw

2:15 pm on Oct 14, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



My experience with sitemaps (YMMV) is that it HELPS the big G figure out which URLs to spider. It does not cause them to all respider.

I recently expanded the sitemaps for some of my sites. G did not completely immediately respider the site. They spool the requests and work you into the normal spidering workflow.