Question on adding metatags

Collective-E members are talking about all aspects of entrepreneurism and small business issues in our forum. You are invited to read along. To post a response or question, you must be a full member of Collective-E. If you are a member, and you are logged in, start posting!


2 replies [Last post]
Joined: 02/27/2009
Posts:

I'm trying to add a meta tag to my Blogger template, but am not sure if I added the right code. Help?!

I added the following
b:if cond='data:blog.url == "http://spacestyle.blogspot.com/ "'>
meta content='DESCRIPTION' name='description'/>
meta content='KEYWORDS' name='keywords'/>

under the section. Does that look right?
Thanks for the help!
Melissa

Joined: 08/18/2008
Posts:

It looks to be right. Just be sure to put it underneath a line of code that is already there:

b:include data='blog' name='all-head-content'/

This line is already there. Leave it, don't edit it at all, and place the meta content code beneath it.

Your code will be:

meta content='TYPE YOUR DESCRIPTION HERE' name='description'/
meta content='TYPE YOUR KEYWORDS HERE' name='keywords'/

I didn't wrap these lines of code with the < and > symbols. Remember to do that. I didn't include them so that they would show up in this post, and not disappear and actually be active code.

For your keywords, you can just put a string of words and you don't need commas. There is no need to repeat words in there. That won't help ya.

Remember: If you're in Blogger, click to Preview your blog before you save. You wouldn't want to save bad code and have your blog disappear. So copy and paste the template into NotePad or TextEdit first, so that you can start fresh if you need to.

Good luck!

Joined: 08/18/2008
Posts:

However, you may not have to do this at all. These days, the meta description tag is not worth as much weight-wise in the algorithms that help a page rank highly. Same with the meta keywords. They don't hurt, but they don't do much. The meta tags, these days, are really only good for if you want to try and have control over which content shows in the search results for a specific keyword term. But even then, the keyword match would have to be totally right for that meta tag to display.

As for your title tag, which is super important, you blogger blog (and most blogs) automatically have each post be the title tag. Then, the title of your blog is usually automatically put in at the beginning of the title or at the end of it. So for this post, the title tag is automatically "FashionMista: Gerdy with Snow on Her Nose"
http://fashionmista.blogspot.com/2009/03/gerdy-with-snow-on-her-nose.htm...

The "FashionMista" part comes in automatically b/c it is the title of the overall blog, which was set in the Settings of Blogger (same with WordPress or Typepad, but in what the admin calls it). That can change site-wide if I were to change the title of the blog to "Katie's FashionMista Blog". Then that post would automatically change to "Katie's FashionMista Blog: Gerdy with Snow on Her Nose"

Then to change the title of that specific post, you would just go into the place to Edit the post, and change the title. This will not change your URL.