Blogger Title Meta Tag And Individual Posts Meta Tag | Rocco Bone

Sunday, June 26, 2011

Blogger Title Meta Tag And Individual Posts Meta Tag

This applies to Blogger blogs.
A WARNING: BEFORE YOU TINKER WITH THE HTML CODE, CLICK ON "DOWNLOAD FULL TEMPLATE" AND SAVE YOUR CURRENT TEMPLATE SO THAT IN CASE YOU SCREW SOMETHING UP WHILE CHANGING THE HTML CODE YOU CAN REVERT TO YOUR OLD TEMPLATE.
You don't want to learn that the hard way.
So, I've spent these past few days fiddling around with my blogger.
I had to change a lot of html and in the process of doing so, added some meta tags for the sake of Search Engine Optimization.
Log into your Blogger account, go to Dashboard->design->edit HTML and check the EXPAND WIDGET TEMPLATES box.

Look for:

<head>

RIGHT BELOW IT PASTE THIS:

< b:if cond='data:blog.url == "http://YOURBLOGURL.com/"'>
< meta content='BRIEF DESCRIPTION OF YOUR BLOG' name='description'/>
< meta content='KEYWORDS, RELEVANT, TO, YOUR, BLOG, SEPARATED, BY, COMMAS' name='keywords'/>

Save your template.
If a warning pops up telling you that your template could not be saved don't worry... after all, you did save your old template, didn't you?
If everything goes well you will see a message saying "your changes have been saved. View blog"
After you've done that and whenever you feel compelled to write a worthwhile blog post you can add meta tags to individual blog posts thusly:

Go look for that meta tag you just put into your html:

< b:if cond='data:blog.url == "http://YOURBLOGSURL.com/"'>
< meta content='BRIEF DESCRIPTION OF YOUR BLOGGITY BLOG BLOG' name='description'/>>
< meta content='KEYWORDS, PERTAINING, TO, YOUR, BLOG, SEPARATED, BY, COMMAS' name='keywords'/>

and IMMEDIATELY ABOVE IT PLACE THIS META TAG FOR INDIVIDUAL BLOG POSTS:

<META CONTENT='YOUR BLOG POSTS TITLE' NAME='Title'/>
<META CONTENT='YOUR NAME' NAME='Author'/>
<META CONTENT='BRIEF DESCRIPTION OF YOUR BLOG POST' NAME='Description'/>
<META CONTENT='KEYWORDS, RELEVANT, TO, YOUR, BLOG, POST, SEPARATED, BY, COMMAS' NAME='Keywords'/>
<META CONTENT='All' NAME='Robots'/>

Save your template and that's it.
I post this because I've looked for the individual blog post meta tag everywhere and I've tried many versions of the individual post meta tag but, so far, the meta tag I just shared with you is the only one that doesn't give me an error message when I save the template. But, like everything else in life, it all comes down to trial and error.
Häppy blogging.

No comments: