SEO for Movable Type Blog

Sep 27 2008   634 views

How to create a template for keywords and meta description tag.

Movable Type missing keywords and description meta tag at the template.
SEO has not measure the standard too much, but I suggest you better do this than doing nothing.

“Better than not” that said the exact keywords in HEAD and that the description was not put to much more like that, so I’ll just follow the following points.

  • keywords: 5, 6 and each other the same page.
  • description: Approximately 100 characters or less.

btw,if you find out this article via the search engine, I guess you better do that :p

This is the only consideration of the following templates and Movable Type

<mt:If name="main_index">
<meta name="robots" content="all" />
<meta name="googlebot" content="index, follow" />
<meta name="keywords" content="put,your,keywords,here" />
<meta name="description" content="<$mt:BlogDescription$>" />
<meta name="revisit-after" content="1 days" >
<mt:ElseIf name="archive_index">
<meta name="keywords" content="<mt:Entries lastn="2"><mt:If name="first"><mt:EntryCategories glue=","><$mt:CategoryLabel regex_replace="/[0-9]+/",""$></mt:EntryCategories><mt:ElseIf name="last"><mt:EntryIfTagged>,<mt:EntryTags glue=","><$mt:TagName$></mt:EntryTags></mt:EntryIfTagged></mt:If></mt:Entries>" />
<meta name="description" content="<mt:Entries lastn="5"><$mt:EntryTitle encode_html="1"$>,</mt:Entries>" />
<mt:ElseIf name="entry_template">
<meta name="robots" content="all" />
<meta name="googlebot" content="index, follow" />
<meta name="keywords" content="<$mt:EntryKeywords$>" />
<meta name="description" content="<$mt:EntryExcerpt$>" />
<mt:ElseIf name="page_template">
<meta name="robots" content="all" />
<meta name="googlebot" content="index, follow" />
<meta name="keywords" content="<$mt:PageKeywords$>" />
<meta name="description" content="<$mt:PageExcerpt$>" />
<mt:ElseIf name="archive_listing">
<meta name="keywords" content="<mt:Entries lastn="2"><mt:If name="first"><mt:EntryCategories glue=","><$mt:CategoryLabel regex_replace="/[0-9]+/",""$></mt:EntryCategories><mt:ElseIf name="last"><mt:EntryIfTagged>,<mt:EntryTags glue=","><$mt:TagName$></mt:EntryTags></mt:EntryIfTagged></mt:If></mt:Entries>" />
<meta name="description" content="<mt:Entries lastn="5"><$mt:EntryTitle encode_html="1"$>,</mt:Entries>" />
</mt:If>


It inculdes Main page, Archive Index, Blogs, Pages, Blog List
edit the keywords, description etc, and insert this code in your HTML Head of template and Publish blog.

Now, It’s done, You just need to write keyword for every blog on bottom.

No responses yet

Leave a Reply