What is Meta Description?
Meta description is an HTML or XML element that describes the web page to search engine's crawler. In other words it tells the information about your web page to search engine's crawler so that search engine may provide your web page in search results on proper place. It also shows in the search results page so that the user may know that what kind of page it is.
Adding Meta Description In Every Post With Blogger
By default in blogger that is disable so we'll need to enable it after that we can use it. In this section the meta tags will enable for homepage
only and the last section of this will show you that how can you use
these tags for every post. Simply the follow the below steps.
- Go to Blogger >> Settings >> Search Preferences
- Look for Meta Tags section and tick "Yes" to enable it.
- A box will appear where you have to write your meta tag or description. Make sure that it has maximum 150 characters.
- Save Changes
Now here is one problem! If you are using custom blogger template then
continue reading this. The problem is that sometimes custom blogger
templates doesn't work with these meta tags but if you are using blogger
default template then it's fine. In order to work properly meta tags
with custom blogger templates you will need to insert an short XML code
in your template which we will solve this issue. Simple follow the below
steps.
- Go to Blogger >> Template >> Edit HTML
- Search for <head> tag and paste the following code below <head>
<b:if cond='data:blog.url != data:blog.homepageUrl'> <b:if cond='data:blog.pageType != "item"'> <b:if cond='data:blog.metaDescription != ""'>
<meta expr:content='data:blog.metaDescription' name='description'/>
</b:if>
</b:if> </b:if>
- Save Template
Adding Meta Tags In Every Post
After enabling meta tags for homepage, it's time to add these tags in
every post. Now when you will go to any post editor or create new post,
You will see "Search Description" section in the sidebar where you have
to simply write your description for that post. This search description
section was disabled but after enabling for homepage it is also enable for every post and page.
Write your description for every post in that box and publish it.