« 关于wordpress 静态页面设置思念水饺的高端之路 »

关于Z-BLOG的最终优化

本内容由 SEO校内提供 作者 hqyseo

今天终于把解决了一直以来都解决不了的标题不能够正常传递的问题,造成了大量的BLOG分类标题重复的问题。

所以今天告诉大家不要使用titleSEO插件

看下面的具体优化方案

我们优化Z-BLOG主要优化的是5个大页面的模板

所以现在THEMES文件下找到你应用的主题模板找到下面5个模板

tags.html  single.html search.html  default.html catalog.html

一、在default.html模板里<head></head>部分加入
<p>
<meta name="Description" content="SEO校内爱好者发起的校内SEO,打造一个内容丰富的SEO校内交流平台"/>
<meta name="keywords" content="seo 校内"/>
<title></title>改为<title><#ZC_BLOG_TITLE#></title>
</P>

二、在catalog.html模板里找到原来的<titel></title>删除
<p>
<head></head>中加入
<title><#BlogTitle#><#ZC_MSG044#><#ZC_BLOG_TITLE#></title>
<meta name="description" content="<#ZC_BLOG_TITLE#><#ZC_MSG044#><#BlogTitle#>"/>
<meta name="keywords" content="<#BlogTitle#>,SEO校内" />
</p>
三、在single.html里删除原来的<titel></title>
在<head></head>中加入
<p><title><#BlogTitle#><#ZC_MSG044#>
<#article/category/name#><#ZC_MSG044#><#ZC_BLOG_TITLE#></title>
<meta name="description" content="<#ZC_BLOG_TITLE#><#ZC_MSG044#><#BlogTitle#>"/>
<meta name="keywords" content="<#BlogTitle#>,<#article/tagtoname#>"/>
</p>
其实懒的话做到这里基本优化就可以了
四、search.html模板里加入
<p><meta name="description" content="<#ZC_BLOG_TITLE#><#ZC_MSG044#><#BlogTitle#>"/>
<meta name="keywords" content="Search,<#ZC_BLOG_TITLE#>"/></p>
五、tags.html模板里加入
<p><meta name="description" content="<#ZC_BLOG_TITLE#><#ZC_MSG044#><#BlogTitle#>"/>
<meta name="keywords" content="<#BlogTitle#>,blog" />
</p>
做完上边的东西后再来设置一下静态页
参考http://www.seoxn.org.cn/seoexperience/urljingtaishezhi.html

好了这下你的BLOG已经优化完毕剩下的就是写好你的文章等待SE收录

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。