{"id":156,"date":"2009-11-15T09:43:07","date_gmt":"2009-11-15T15:43:07","guid":{"rendered":"http:\/\/www.irishwonder.com\/blog\/?p=156"},"modified":"2009-11-15T09:44:48","modified_gmt":"2009-11-15T15:44:48","slug":"hidden-h-tags-by-google","status":"publish","type":"post","link":"http:\/\/www.irishwonder.com\/blog\/2009\/11\/15\/hidden-h-tags-by-google\/","title":{"rendered":"Hidden H Tags by Google"},"content":{"rendered":"<p>Look at the source code of Google&#8217;s SERP page and you&#8217;ll see the following:<\/p>\n<blockquote>\n<div class=\"nodeBox textNodeBox  repIgnore \"><span class=\"nodeLabelBox repTarget \">&lt;<span class=\"nodeTag \">h2<\/span><span class=\"nodeAttr editGroup \"> <span class=\"nodeName editable \">class<\/span>=&#8221;<span class=\"nodeValue editable \">hd<\/span>&#8220;<\/span><span class=\"nodeBracket editable insertBefore \">&gt;<\/span><span class=\"nodeText editable \">Search Results<\/span>&lt;\/<span class=\"nodeTag \">h2<\/span>&gt;<\/span><\/div>\n<\/blockquote>\n<div class=\"nodeBox textNodeBox  repIgnore \">However, on the page you don&#8217;t see this bit displayed anywhere. Sure enough, you won&#8217;t see it because the stylesheet makes this bit invisible:<\/div>\n<blockquote>\n<div class=\"nodeBox textNodeBox  repIgnore \">\n<div class=\"cssHead focusRow \"><span class=\"cssSelector \">.hd<\/span> {<\/div>\n<div class=\" \">\n<div class=\"cssPropertyListBox \">\n<div class=\"cssProp editGroup focusRow \"><span class=\"cssPropName editable \">height<\/span><span class=\"cssColon \">:<\/span><span class=\"cssPropValue editable \">1px<\/span><span class=\"cssSemi \">;<\/span><\/div>\n<div class=\"cssProp editGroup focusRow \"><span class=\"cssPropName editable \">overflow<\/span><span class=\"cssColon \">:<\/span><span class=\"cssPropValue editable \">hidden<\/span><span class=\"cssSemi \">;<\/span><\/div>\n<div class=\"cssProp editGroup focusRow \"><span class=\"cssPropName editable \">position<\/span><span class=\"cssColon \">:<\/span><span class=\"cssPropValue editable \">absolute<\/span><span class=\"cssSemi \">;<\/span><\/div>\n<div class=\"cssProp editGroup focusRow \"><span class=\"cssPropName editable \">top<\/span><span class=\"cssColon \">:<\/span><span class=\"cssPropValue editable \">-1000em<\/span><span class=\"cssSemi \">;<\/span><\/div>\n<div class=\"cssProp editGroup focusRow \"><span class=\"cssPropName editable \">width<\/span><span class=\"cssColon \">:<\/span><span class=\"cssPropValue editable \">1px<\/span><span class=\"cssSemi \">;<\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"editable insertBefore \">}<\/div>\n<\/div>\n<\/blockquote>\n<div class=\"nodeBox textNodeBox  repIgnore \">And mind you, this is not the Ajax bit that can be hidden or shown by the user clicking anything. Hm hm&#8230; but don&#8217;t Google&#8217;s webmaster guidelines say:<\/div>\n<blockquote>\n<div class=\"nodeBox textNodeBox  repIgnore \">Don&#8217;t deceive your users or present different content to search engines than you display to users, which is commonly referred to as &#8220;cloaking.&#8221;<\/div>\n<\/blockquote>\n<div class=\"nodeBox textNodeBox  repIgnore \">Google sets the rules and violates them itself. Nothing new of course, not the first time we see it. But what&#8217;s weird is, why would Google want this hidden heading if its search results aren&#8217;t even supposed to be indexable?<\/div>\n<div class=\"nodeBox textNodeBox  repIgnore \">See http:\/\/www.google.com\/robots.txt:<\/div>\n<blockquote>\n<pre>Disallow: \/search<\/pre>\n<\/blockquote>\n<div class=\"nodeLabel \"><span class=\"nodeLabelBox repTarget \">Where&#8217;s the logic then?<br \/>\n<\/span><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Look at the source code of Google&#8217;s SERP page and you&#8217;ll see the following: &lt;h2 class=&#8221;hd&#8220;&gt;Search Results&lt;\/h2&gt; However, on the page you don&#8217;t see this bit displayed anywhere. Sure enough, you won&#8217;t see it because the stylesheet makes this bit invisible: .hd { height:1px; overflow:hidden; position:absolute; top:-1000em; width:1px; } And mind you, this is not [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-156","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"http:\/\/www.irishwonder.com\/blog\/wp-json\/wp\/v2\/posts\/156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.irishwonder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.irishwonder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.irishwonder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.irishwonder.com\/blog\/wp-json\/wp\/v2\/comments?post=156"}],"version-history":[{"count":3,"href":"http:\/\/www.irishwonder.com\/blog\/wp-json\/wp\/v2\/posts\/156\/revisions"}],"predecessor-version":[{"id":158,"href":"http:\/\/www.irishwonder.com\/blog\/wp-json\/wp\/v2\/posts\/156\/revisions\/158"}],"wp:attachment":[{"href":"http:\/\/www.irishwonder.com\/blog\/wp-json\/wp\/v2\/media?parent=156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.irishwonder.com\/blog\/wp-json\/wp\/v2\/categories?post=156"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.irishwonder.com\/blog\/wp-json\/wp\/v2\/tags?post=156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}