Skip to:
Content
Pages
Categories
Search
Top
Bottom

site-wide activity confusing Google – fix with googleoff


  • podictionary
    Participant

    @podictionary

    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-->

Viewing 1 replies (of 1 total)

  • John James Jacoby
    Keymaster

    @johnjamesjacoby

    I’m not an SEO nut, but I suspect that real-time web activity streams like this can be a pain to index and rank effectively. That’s one part of the reason why each activity stream now has its own permalink and static location on the site. It means that specific thread can now be indexed without worrying about it going anywhere.

Viewing 1 replies (of 1 total)
  • The topic ‘site-wide activity confusing Google – fix with googleoff’ is closed to new replies.
Skip to toolbar