If you would like to customize your title tag for better SEO follow replace this with the <title></title> in your template:
<title>{$meta_title|strip_tags|summarize:30:””}</title>

Then add this content block generating code with in the body of your page:
{content block=’meta_title’ wysiwyg=’false’ assign=’meta_title’ oneline=’true’}

Now you can customize your title tag. I figured this out by using CalGuy’s code for adding content blocks for meta discriptions and keywords. Here is the code for that:

Add this in the meta area of your template:
<meta name=”description” content=”{$meta_description|strip_tags|summarize:30:””}”>
<meta name=”keywords” content=”{$meta_keywords|strip_tags|summarize:30:””}”>

Add these to add the admin content blocks:
{content block=’meta_description’ wysiwyg=’false’ assign=’meta_description’ oneline=’true’}
{content block=’meta_keywords’ wysiwyg=’false’ assign=’meta_keywords’ oneline=’true’}

Thanks to CalGuy for this one! Remember if you are using the code here you need to retype the quote marks.

Leave a Reply

You can add images to your comment by clicking here.

This site uses Akismet to reduce spam. Learn how your comment data is processed.