الخميس، 21 مارس 2013

How to Customize Blogger/Blogspot Page Title


How to Customize Blogger/Blogspot Page Title


After reading this article you will come to know that which are the things you need to perform SEO for Blogger Blogs , This Complete Guideline is just for blogger blogs. Read this post very slowly and concentrate on the code portions where you need to do change in your XML (Layout > Edit HTML) code to accomplish our SEO for blogger Users. Below is the step by step procedure for doing that. 

 

Page Title

Standard page title for a single Blogger post is BLOG TITLE: POST TITLE. You can improve SEO by changing the title tags to POST TITLE | BLOG TITLE. Find this code in your XML template,



<title><data:blog.pageTitle/></title>

replace with this code,


<b:if cond='data:blog.pageType == &quot;item&quot;'>
<title><data:blog.pageName/> | <data:blog.title/></title>
<b:else/>
<title><data:blog.pageTitle/></title>
</b:if>


Meta Keywords and Description

Some blogger expert have written tutorials about how to add meta keywords and Meta description. It is very easy, you need to add this code after title tag above or before <b:skin><![CDATA[/*

Example:

<meta content='Geek Blogger - Best Blogging Hacks and Templates.' name='description'/>
<meta content='Geek, Blogger, BlogSpot' name='keywords'/>


But, this code add same meta keywords & description to all posts. It is not good because you will find a warning at Google Webmaster Tools because duplicate meta keywords & description are detected. So, it is better if you only add meta keywords & description to the homepage. For example, you can add this code,

<b:if cond='data:blog.url == data:blog.homepageUrl'>

<meta content='Geek Blogger - Best Blogging Hacks and Templates.'name='description'/>
<meta content='Geek, Blogger, BlogSpot' name='keywords'/>
</b:if>


Header Title


Heading Tag (H1, H2, H3, H4, H5) is also important for SEO. All of Blogger widgets (gadgets) title use H2 tags. But, Minima Template use H3 tag for post title and many blogger templates use H2 tag for post title. To improve SEO, you need to use H1 tag for post title. For example, find this code,

<b:if cond='data:post.title'>

<h3 class='post-title entry-title'>
<b:if cond='data:post.link'>
<a expr:href='data:post.link'><data:post.title/></a>
<b:else/>
<b:if cond='data:post.url'>
<a expr:href='data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
</b:if>
</h3>
</b:if>

his example shows that your template use H3 tag for post title (If you don't find it, your template may use H2 tag for post title). Replace H3 (or H2) at this code with H1, for example,


<b:if cond='data:post.title'>
<h1 class='post-title entry-title'>
<b:if cond='data:post.link'>
<a expr:href='data:post.link'><data:post.title/></a>
<b:else/>
<b:if cond='data:post.url'>
<a expr:href='data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
</b:if>
</h1>
</b:if>



 تم النشر يوم  الخميس، 21 مارس 2013 ' الساعة  1:15 ص


ليست هناك تعليقات:

إرسال تعليق