
Here I'm going to show how to add automatic meta tags in blogger? i.e. dynamic metatag for blogger.
here's a simple code to automate the process of assigning meta description and keyword tags to every page of your blog. Although not very effective but it may slightly improve the visibility of your pages in SERPs. These are the Dynamic meta tags, which have the same code but display different content for different pages. Actually it simply shows the blog name and title of the post in the meta description/keywords content.
Here are some important Steps to add meta tags in blogger:
Keep in mind that meta tags always goes between <head> and </head> tags
1. Log in to Blogger, go to Layout -> Edit HTML
and find (CTRL+F) this code in the template:
<b:skin><![CDATA[
And immediately BEFORE/ABOVE it, paste this code:
<b:if cond='data:blog.pageType == "item"'>
<meta expr:content='data:blog.pageName + data:blog.title + data:blog.pageName' name='Description'/>
<meta expr:content='data:blog.pageName + data:blog.title + data:blog.pageName' name='Keywords'/>
</b:if>
Happy blogging
Không có nhận xét nào:
Đăng nhận xét