Thursday, 20 May 2021

Add auto meta description and keywords for blogger post/pages

  


Meta Description and keywords important for search engine ranking, blogger offers little about it and it's should be done manually that's required more time for every single post and pages. this tricks will help you to save your time and improve the site quality. 

How to add auto meta description/keywords for Blogger


Step 1: Simply, from your Blogger Dashboard go to Template.

Step 2: And the Edit HTML.

show-post-title-only-on-homepage-in-blogger


Step 3: And now search for the <data:postLabelsLabel/> tag. ( Use Ctrl+F for searching)

Step 4: Just add above  the code given below:

<b:if cond='data:blog.pageType == &quot;error_page&quot;'>
     <title>not found page : <data:blog.title/></title>
      <b:else/>
  <b:if cond='data:blog.pageType == &quot;archive&quot;'>
        <title><data:blog.pageName/> : <data:blog.title/></title>
<b:else/>
        <b:if cond='data:blog.pageType == &quot;item&quot;'>
          <title><data:blog.pageName/> : <data:blog.title/></title>
          <b:else/>
          <b:if cond='data:blog.searchLabel'>
          <title><data:blog.pageName/> : <data:blog.title/></title>
          <b:else/>
            <b:if cond='data:blog.pageType == &quot;static_page&quot;'>
          <title><data:blog.pageName/> : <data:blog.title/></title>
          <b:else/>
     <title><data:blog.title/></title>
        </b:if>
            </b:if>
         </b:if>
        </b:if>
</b:if>

Step 5: And now click on save template.

note: this tricks only work post/pages . if you need home page others your should search google or tell us trough comment.

Last Words

I hope you have understood it. Comment your views and feedback about this post through comment box. 

No comments:

Post a Comment