site-wide activity confusing Google – fix with googleoff
-
I’m running BP 1.1.3 on WPMU 2.8.6 and have two additional domain extension blogs.
The site-wide activity widget causes Google index problems. Google search results often point to pages where the site-wide activity listing has previously had links to content, but which have since disappeared off the bottom of the list.
To solve this I added Googleoff and Googleon tags around the site-wide activity listing in the widget. Now Google indexes only the full entries in the extension blogs (and forums) and search results hop the correct pages.
Has anyone else had this issue? How did they handle it?
Would it be wise to offer Googleoff/on tags by tickbox in the site-wide activity widget?
(Googleoff/on tags essentially tell Google not to read this part of the page – <div class=”robots-nocontent”> does it for Yahoo).
Here’s the code I used in the bp_activity-widgets file:
Look for
<ul id="site-wide-stream" class="activity-list">
<li>….bunch more code in here
</li>
</ul>And change it to
<!--googleoff: all--><div class="robots-nocontent">
<ul id="site-wide-stream" class="activity-list">
<li>….bunch more code in here
</li>
</ul>
</div><!--googleon: all-->
- The topic ‘site-wide activity confusing Google – fix with googleoff’ is closed to new replies.