[wp-meta] [Making WordPress.org] #507: Exclude Footer from Google search results

Making WordPress.org noreply at wordpress.org
Sat Jun 7 21:03:14 UTC 2014


#507: Exclude Footer from Google search results
------------------------+---------------------
Reporter:  siobhan      |      Owner:
    Type:  defect       |     Status:  new
Priority:  normal       |  Component:  General
Keywords:  needs-patch  |
------------------------+---------------------
 I do a lot of Google site searches on WordPress.org, for example, I might
 use the following search string on Google "site:http://wordpress.org
 Kubrick" to find out information about the Kubrick theme. Sometimes I'll
 drill down further to search just the news blog or the support forums.

 I encounter a problem, however, when I search for any keywords which are
 contained within the footer. The search string "site:http://wordpress.org
 bbpress" brings up all of the pages with the word bbpress, which is every
 page:

 [[Image(https://i.cloudup.com/KjM5vft2l3.png)]]

 In order to make search results more relevant, I suggest following
 Google's advice for excluding boilerplate content:
 https://support.google.com/customsearch/answer/2364585?hl=en

 From Google:
  If your pages have regions containing boilerplate content that's not
 relevant to the main content of the page, you can identify it using the
 nocontent class attribute. When Google Custom Search sees this tag, we'll
 ignore any keywords it contains and won't take them into account when
 calculating ranking for your Custom Search engine. (We'll still follow and
 crawl any links contained in the text marked nocontent.)  To use the
 nocontent class attribute, you'll need to tag the boilerplate content, and
 then modify your context file. This tells Google that you're using the
 nocontent class attribute.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/507>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list