Why Blogger Site is Showing Wrong Meta Description in Google SERP?


#1

Dear @Mohammad

My Blog is not getting the correct meta description i also used the dynamic meta tags but it pick the text from other part of my blog…like these below texts…

once i have deleted these texts form my site…then the meta description start showing up.

Our Templates Load Super Fast
Our Templates Work On All Devices
Our Templates Will Improve SEO Ranking
Our Templates Will Boost Your Ad Revenue
Trusted by Billions Of Blogger Users

When i delete these texts or close in comments inside template then the meta description of my blog showing up…but normally instead of meta description the above texts are displayed…

Showing Correct Meta Description for Keywords

Type Templatezy in search box it would show wrong description

Type Templatezy Free then it would show correct description

what is the matter please let me know these above two issues…

Or

Is this happening because i am using duplicate meta description.

One is showing by

 <b:include data='blog' name='all-head-content'/>

Second one is showing by

<b:if cond='data:blog.metaDescription != &quot;&quot;'>
  <meta expr:content='data:blog.metaDescription' name='description'/>
</b:if>

Should i remove the dynamic meta tags because the below tag already display meta description.

 <b:include data='blog' name='all-head-content'/>

Kindly let me know, what should i do to pick the correct meta tag without deleting my desires texts.


#2

I visited your site and found multiple occurrences of meta descriptions in posts which means the dynamic meta description you setup is wrongly configured and is causing the description to appear twice instead of one as highlighted in the image below:

The simplest fix is what I already mentioned 2 years ago here:

You just need to replace this

<b:if cond='data:blog.metaDescription != &quot;&quot;'>
  <meta expr:content='data:blog.metaDescription' name='description'/>
</b:if>

with this code:

<b:if cond='data:blog.url != data:blog.homepageUrl'> 
<b:if cond='data:blog.pageType != &quot;item&quot;'> 
<b:if cond='data:blog.metaDescription != &quot;&quot;'> 
  <meta expr:content='data:blog.metaDescription' name='description'/> 
</b:if> 
</b:if> 
</b:if>

This will solve all your worries once and for all! :angel:


#3

Dear, @Mohammad

I know the above conditions, we dont need to add the below tags.

<b:if cond='data:blog.url != data:blog.homepageUrl'> 
<b:if cond='data:blog.pageType != &quot;item&quot;'> 
<b:if cond='data:blog.metaDescription != &quot;&quot;'> 
  <meta expr:content='data:blog.metaDescription' name='description'/> 
</b:if> 
</b:if> 
</b:if>

Why to add the above tags, because you enclose the condition not to show on homepage and not on post pages the meta description, then why to add this meta description.

the below tag automatically show the meta description for site. which you see in that first line.

<meta content='blogger' name='generator'/>

default in template the above tag look likes below one.

 <b:include data='blog' name='all-head-content'/>

So, i think i should delete the dynamic meta description.

<b:if cond='data:blog.metaDescription != &quot;&quot;'>
  <meta expr:content='data:blog.metaDescription' name='description'/>
</b:if>

#4

Buddy just read my blog post that I referred once throughly. I gave live screenshots of the problems present in your site. The above one is the correct code to avoid the duplicate content issue


#5

@Mohammad Dear,

I installed the coding. i think it would take 3 to 4 days.

I have another issue, that i am sending you through private message. thanks.


#6

thank you, i think should use this as well. My blog also showcases two descriptions of the same.

under the <head>

and under <meta content='blogger' name='generator'/>


#8

just remove the meta description from template. The meta description you put in setting will automatically do all the work


#11

no. just remove bellow code in your template:

<meta content='ANYTHING' name='description'/>

#13

can you provide your blog or website’s link? like www(dot)blablabla(dot).com


#15

ok. So add bellow tags in head section:

<meta expr:content='data:blog.metaDescription' itemprop='description'/>

#17

Can You send the screenshot of your template’s header section (before <b:skin>) or write the codes? This will help me to help you better


#18

You have wrong description in your homepage:


#20

can you provide <head> section codes before <b:Skin>?


#22

replace all that with bellow:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr' xmlns:og='http://ogp.me/ns#'>
  <head>
    <link href='//fonts.googleapis.com/css?family=Playfair+Display%3A700%2C700italic%2Citalic%2Cregular%7CNoto+Serif%3A700%2C700italic%2Citalic%2Cregular%7CInconsolata%3Aregular&amp;ver=1.4' id='google-fonts-css' media='screen' rel='stylesheet' type='text/css'/>
    <link href='//fonts.googleapis.com/css?family=Playfair+Display%3A700%2C700italic%2Citalic%2Cregular%7CNoto+Serif%3A700%2C700italic%2Citalic%2Cregular%7CInconsolata%3Aregular&amp;ver=1.4' id='google-fonts-css' media='screen' rel='stylesheet' type='text/css'/>

    <b:include data='blog' name='all-head-content'/>

	<title>
      <b:if cond='data:blog.pageType == &quot;index&quot;'>
        <data:blog.pageTitle/>
        <b:else/>
        <b:if cond='data:blog.pageType != &quot;error_page&quot;'>
          <data:blog.pageName/> | <data:blog.title/>
          <b:else/>
          Stranica nije pronađena | <data:blog.title/> 
        </b:if>
      </b:if>
    </title>

      <meta expr:content='data:blog.metaDescription' name='description'/> 
    
    <b:if cond='data:blog.pageType == &quot;archive&quot;'>
      <meta content='noindex,noarchive' name='robots'/>
    </b:if>
    <meta charset='UTF-8'/>
	<meta content='width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1' name='viewport'/>

  <!-- Open Graph metadata --> 
    <meta expr:content='&quot;sr_RS&quot;' property='og:locale'/> <meta expr:content='data:blog.canonicalUrl' property='og:url'/> 
    <b:if cond='data:blog.pageType == &quot;item&quot;'>
    <meta expr:content='data:blog.pageName' property='og:title'/>
    <meta content='article' property='og:type'/>
    </b:if> 
    <meta expr:content='data:blog.title' property='og:site_name'/> 
    <b:if cond='data:blog.postImageThumbnailUrl'>
    <meta expr:content='data:blog.postImageThumbnailUrl' property='og:image'/>
    <b:else/>
    <meta content='http://i.imgur.com/ilaENTi.png' property='og:image'/>
    </b:if> 
    </b:if>
  <!-- Open Graph metadata -->
	<b:skin>

#24

Now. Replace that with following code:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr' xmlns:og='http://ogp.me/ns#'>
  <head>
    <link href='//fonts.googleapis.com/css?family=Playfair+Display%3A700%2C700italic%2Citalic%2Cregular%7CNoto+Serif%3A700%2C700italic%2Citalic%2Cregular%7CInconsolata%3Aregular&amp;ver=1.4' id='google-fonts-css' media='screen' rel='stylesheet' type='text/css'/>
    <link href='//fonts.googleapis.com/css?family=Playfair+Display%3A700%2C700italic%2Citalic%2Cregular%7CNoto+Serif%3A700%2C700italic%2Citalic%2Cregular%7CInconsolata%3Aregular&amp;ver=1.4' id='google-fonts-css' media='screen' rel='stylesheet' type='text/css'/>

    <b:include data='blog' name='all-head-content'/>
    <title>
      <b:if cond='data:blog.pageType == &quot;index&quot;'>
        <data:blog.pageTitle/>
        <b:else/>
        <b:if cond='data:blog.pageType != &quot;error_page&quot;'>
          <data:blog.pageName/>
          |
          <data:blog.title/>
          <b:else/>
          Stranica nije pronađena |
          <data:blog.title/>
        </b:if>
      </b:if>
    </title>
    <meta content='blogger' name='generator'/>
    <b:if cond='data:blog.metaDescription != &quot;&quot;'>
      <meta expr:content='data:blog.metaDescription' property='og:description'/>
      <meta expr:content='data:blog.metaDescription' name='twitter:description'/>
      <meta expr:content='data:blog.metaDescription' itemprop='description'/>
     </b:if>
    
    <b:if cond='data:blog.pageType == &quot;archive&quot;'>
      <meta content='noindex,noarchive' name='robots'/>
    </b:if>
    <meta charset='UTF-8'/>
	<meta content='width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1' name='viewport'/>

  <!-- Open Graph metadata --> 
    <meta expr:content='&quot;sr_RS&quot;' property='og:locale'/> <meta expr:content='data:blog.canonicalUrl' property='og:url'/> 
    <b:if cond='data:blog.pageType == &quot;item&quot;'>
    <meta expr:content='data:blog.pageName' property='og:title'/>
    <meta content='article' property='og:type'/>
    </b:if> 
    <meta expr:content='data:blog.title' property='og:site_name'/> 
    <b:if cond='data:blog.postImageThumbnailUrl'>
    <meta expr:content='data:blog.postImageThumbnailUrl' property='og:image'/>
    <b:else/>
    <meta content='http://i.imgur.com/ilaENTi.png' property='og:image'/>
    </b:if> 
    </b:if>
  <!-- Open Graph metadata -->
	<b:skin>

#25

this is not same. Just replace and see how it work.


#27

Kindly create a new topic so that I could review your blog separately and help you out. We can not solve two bugs through a single topic this will confuse readers just like it confused you now :innocent:


#28

@Templatezy

I noticed that you are using Headline tags on your homepage/landing page. Headline tags such as <h2> and <h3>

Google is picking the right description for your homepage when I search

site:templatezy.com

When you type simply “Templatezy” Google then treats it as a keyword which resembles your domain and displays content related to your query. Since you have used a headline tag with <h3> tag to explain why users should choose templatezy as shown below

Why Templatezy Themes!

Our Templates Load Super Fast Our Templates

Work On All Devices Our Templates

Will Improve SEO Ranking Our

Templates Will Boost Your Ad Revenue

Trusted by Billions Of Blogger Users

So in this title you are actually telling the robot what the keyword “Templatezy” stands for. You are literally defining it using a secondary <h3> tag which has a lot of importance in eyes of Search robots.

This is one reason why Google is showing those keywords in SERPs instead of your meta description because your meta description does not contain the keyword “Templatezy” in it. Google picks the meta description correctly when you type the full domain name as query i.e. Templatezy.com or when you type the keyword “Free” which is enclosed inside your title tag.

Instead of deleting this sub-headline or all other headlines containing the keyword templatezy in it, you must instead use a paragraph tag <p></p> to wrap your text or just don’t use the word templatezy in it and instead write

“Why Choose us?”

You may either enclose the text in an Image or

tag or just don’t use the main keyword in it in order to avoid confusing the search robots.

This problem is often faced by sites which has a branded domain instead of a keyword rich domain.

Use paragraph tags or images for containing your Brand title on your homepage at least and avoid adding it inside headline tags.

Conclusion

Google is even showing the correct description for Templatezy Templates which means everything is fine on Google’s part, it is your homepage which has so many headline tags containing the primary keyword in it that is distracting the robot from showing the meta description and instead it displays the related text found on your homepage which contains the banded keyword. Cleared?


#29

Thanks bundles @Mohammad

But as i already told you that previously i deleted these headlies, then the meta description was showing correctly for homepage.

Why Templatezy Themes !

Our Templates Load Super Fast
Our Templates Work On All Devices
Our Templates Will Improve SEO Ranking
Our Templates Will Boost Your Ad Revenue
Trusted by Billions Of Blogger Users

I did that tick which you refer to me. Previously i deleted these texts and replaced it with the below image then the meta description was showing correctly but what! i lost ranking on some keywords thats why i want to keep these headlines to maintain ranking.

Yes. but for know I will definitely enclosed it in p tag instead of h3 tag as you told me to do.

  <p>Headlines goes here</P>

To check, how google treat it with p tags this time.

Lets hope for the best.