This technique is extremely useful for onpage optimization for each post we will have a meta description that is different from one post to another post without bothering to nambahin one-one on each post manually. In other words, meta description and keywords in each post will be automatically generated too. This is certainly a solution for my friend who had duplicate meta descriptions.
How to install the meta tag description and keywords of each post automatically I is classified into 2 parts, just follow buddies wrote one of the two ways below:
For those who have NOT previously put the meta tag description, just follow this way:
1. First of all you have to login to blogger.com continue to layout> edit html.
2. Wait until the maximum terload and locate the following code (use ctrl + f in firefox to look for):
3. Once you can remove and replace the above code with the following code:
- <title><data:blog.pageTitle/></title>
4. Finish and save your template
- <b:if cond='data:blog.url == "http://BLOGURL.blogspot.com/"'>
- <title><data:blog.pageTitle/></title>
- <meta name='DESCRIPTION' content='HOMEPAGE DESCRIPTION'/>
- <meta name='KEYWORDS' content='HOMEPAGE KEYWORDS'/> </b:if>
- <b:if cond='data:blog.pageType == "item"'>
- <title><data:blog.pageName/> - <data:blog.title/></title>
- <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>
For those who
1. Are logged into blogger will? directly to layout> edit html.
2. In the edit html page, find this code:
The point my friend tuh find descriptions of the old code (which pairs you've never before), then removed all the code wrote a long description of it.
- <b:if cond='data:blog.pageType == "item"'>
- <title><data:blog.pageName/> | <data:blog.title/></title>
3. Once the code description and keyword meta tags are long removed replaced with the following code which is certainly more sophisticated, hehehe. .:
4. Done, Save your template
- <b:if cond='data:blog.url == "http://YOURBLOGURL.blogspot.com/"'>
- <title><data:blog.pageTitle/></title>
- <meta name='DESCRIPTION' content='YOUR DESCRIPTION'/>
- <meta name='KEYWORDS' content='HOMEPAGE KEYWORDS'/> </b:if>
- <b:if cond='data:blog.pageType == "item"'>
- <title><data:blog.pageName/> - <data:blog.title/></title>
- <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>
0 comments:
Post a Comment