php - my google snippet is not showing the data from the correct url -
this may little confusing, added example,
http://searchengineland.com/bing-rises-above-17-search-market-share-as-google-slips-comscore-159746
when clicking +1 button here, inside snippet shows text , url page.
however, snippet shows text homepage url, not url gave it. why , how can fix it? sorry if i'm unclear. code i'm using below.
<g:plusone size="medium" count="true" href="http://aaaaaa.com/social/comments/'.$row["id"].'"> </g:plusone>
the snippet generated using schema.org markup on page. update text, update itemprop="description"
value in markup each page within site. markup looks like:
<body itemscope itemtype="http://schema.org/product"> <h1 itemprop="name">shiny trinket</h1> <img itemprop="image" src="{image-url}" /> <p itemprop="description">shiny trinkets shiny.</p> </body>
for more information on snippet, alternatives schema markup, see https://developers.google.com/+/web/snippet/.
Comments
Post a Comment