How to SEO Optimize WordPress 2.5 Blog Web Page Title Without Optimal Title Plugin如何优化搜索引擎优化WordPress的2.5博客网页标题无标题的优化插件
Each web pages on Internet will normally has a title that is displayed on the top of all web browsers, and become description or title for the tab on tabbed-browsing support browsers such as Firefox and IE7 or IE8, and also as descriptive text when the browser window is minimized to taskbar.每个网页互联网上通常将有一个标题显示在上方的所有网络浏览器,并成为描述或标题标签分页浏览支持浏览器如Firefox和IE7的或IE8 ,同时也作为说明性文字时,浏览器窗口最小化到任务栏。 The webpage title is also important for SEO, acronym for search engine optimization, which intends to promote and improve the ranking of the page and site on search engines.网页标题也是很重要的搜索引擎优化,简称为搜索引擎优化,它打算在促进和改善排名的网页和网站的搜索引擎。
WordPress blogging system uses WordPress的博客系统使用 wp_title() template tag wp_title ( )模板标记 to call and displays or returns the title of the page.要求,并显示或返回网页的标题。 Previously, wp_title function is straight forward, and without flexibility, where the separator is always displayed in front of the page title, making bloggers and webmasters unable to put post and page title in front of website name, which believed to be able to boost search engine ranking due to more unique and different titles instead of a standard website title.此前, wp_title职能是直线前进,没有灵活性,那里的分离总是显示在前面的网页标题,使博客和网站管理员无法把员额和页面标题前面的网站名称,它被认为能提升搜寻由于引擎的排名更独特和不同的称呼,而不是标准的网站名称。
As before WordPress v2.5, wp_title tag is pretty much static, a lot of users rely on和以前一样WordPress的v2.5 , wp_title标记是非常静态的,大量的用户依赖 Optimal Title plugin优化标题插件 to achieve the the optimization to move the post and page title to the front of blog or site title.为实现优化,推动员额和页面标题的前面的博客或网站的标题。 However, there is no longer a need for any plug-in from WordPress version 2.5 onwards.然而,不再需要任何插件从WordPress的版本2.5起。
WordPress 2.5 has added a separator location argument to built-in wp_title template tag that allows users to define whether the separator should be printed before or after the title of the page. WordPress的2.5增加了分离器的位置参数内置wp_title模板标记,使用户能够确定是否分离应印之前或之后的网页的标题。 As such, bloggers who upgrade to WordPress 2.5 or new WordPress 2.5 installation can directly use the WordPress built-in wp_title function instead of additional plugin to optimize the blog pages title.因此,谁的博客升级到WordPress的2.5或2.5的新WordPress的安装可以直接使用WordPress的内置wp_title功能不是更多的插件来优化博客的网页标题。
Typically, most WordPress theme design will have the following line of code to display a page title:一般来说,最WordPress的主题设计将下面的代码行,以显示网页标题:
<title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>
The code will print blog name first, followed by wp_title which firstly print a seperator, which by default is » (») symbol, and then continue with post title or page title.该代码会打印博客名称第一,其次是wp_title这首先打印分隔符,这是默认» ( » )符号,然后继续职称或网页标题。 To change the separator location to the right or behind the post title so that the sequence of blog title and post title can be changed, simply change the code to the following:要改变分隔位置的权利或后面的帖子标题,以便序列博客标题和帖子标题可以改变,只要改变代码如下:
<title><?php wp_title(' »', true, 'right'); ?> <?php bloginfo('name'); ?></title>
The values for first two parameters are default, which can be omitted, but some users reportedly that the WordPress will return 500 Internet Server Error when first 2 values are removed.该值的头两个参数是默认情况下,可以省略,但据报道,一些用户的WordPress的将返回500因特网服务器错误时,第一款的价值都将被删除。 Beside, some bloggers may want to beautify the title with space or change the separator, so it’s recommended to type in the value want to use.旁边,一些博客可能要美化的标题与空间或变更分离,所以它的建议类型的价值要使用。 Note the the last argument determine the location of the separator, which must have the value of ‘right’ for the separator to be appended after the post title.请注意最后论证确定的地点分离,其中必须有价值的'权利'的分离,以附加后的帖子标题。 Any other value will have the separator placed in front of (to the left of) the post title.任何其他的价值将有隔板放置在前面(左边的)的帖子标题。
Usage and Parameters for wp_title() since WordPress 2.5 用法和参数的wp_title ( ) ,因为WordPress的2.5
<?php wp_title('sep', echo, 'seplocation'); ?>
sep (string): Text to display before or after of the post title (ie the separator). 9月 (字符串) :要显示的文本之前或之后的帖子标题(即分离) 。 By default (if sep is blank) then the » (») symbol will be placed before or after (specified by the seplocation) the post title.默认情况下(如9月是空白的) ,然后在» ( » )符号将放在之前或之后(指定的seplocation )的帖子标题。
echo (boolean): Echo the title (True) or return the title for use as a PHP string (False). 回声 (布尔) :回声的标题(真)或返回的标题用作PHP字符串(假) 。 Valid values is either 1 (True) which is also default value and 0 (False).有效值或者1 (真)这也是默认值和0 (假) 。
seplocation (string): Defines the location of where the sep string prints in relation to the title of the post. seplocation (字串) :定义的位置,在9月字符串打印有关的标题职务。 For all values except ‘right’, the sep value is placed in front of (to the left of) the post title.对于所有的价值,除非权利, 9月的价值放在前面(左边的)的帖子标题。 If the value of seplocation is ‘right’ then the sep string will be appended after the post title.如果该值的seplocation是'权' ,那么9月字符串将附加在帖子标题。
IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. 重要:您正在阅读的机器翻译网页这是“原样”提供,无保修。 Unlike human translation, machine translation does not understand the grammar, semantics, syntax, idioms of natural language, thus often produce inaccurate and low quality text which is misleading and incomprehensible.不同人的翻译,机器翻译不明白的语法,语义,句法,成语自然语言,因此,往往产生不准确,低质量的文字这是误导和费解。 Thus, please refer to因此,请参阅 original English article英文原文的文章 when in doubt.当怀疑。
Related Articles相关文章
- Make WordPress Blog More Secure Using Secret Key让WordPress的博客更安全的使用密钥
- Media Buttons Disabler Plugin to Remove “Add Media” Icons in WordPress 2.5媒体按钮Disabler插件删除“添加媒体”图标在WordPress的2.5
- How to Fetch and Show RSS Feeds on WordPress Blog (Atom/RSS Aggregator Plugins)如何获取和显示RSS源的WordPress的博客(原子/ RSS聚合器插件)
- Disable WordPress 2.5 Flash Image/Video/Media Uploader with Plugin禁用WordPress的2.5闪光图片/视频/媒体上传与插件
- Workaround to Override WordPress Shortcode and Display the [] Brackets Tags解决办法,以覆盖WordPress的短,并显示方括号[ ]标签
- WordPress 2.5.1 Released for Download WordPress的2.5.1发布下载
- Notification Emails Not Send After Comment Approval in WordPress 2.5 and 2.5.1通知电子邮件无法发送评论核准后在WordPress的2.5和2.5.1
- WordPress 2.5 RC2 Released for Download WordPress的2.5 RC2测试版发布下载
- WordPress 2.5 Released for Free Download WordPress的2.5发布免费下载
- Call to Undefined Function: wp_constrain_dimensions() When Uploading Images or image_downsize() in Gallery/Media Library in WordPress 2.5呼吁未定义功能: wp_constrain_dimensions ( )当上传图片或image_downsize ( )在画廊/传媒图书馆在WordPress的2.5

































March 30th, 2008 18:31二零零八年3月30日18:31
[...] How to SEO Optimize WordPress 2.5 Blog Web Page Title Without Optimal Title Plugin. [...]如何搜索引擎优化优化WordPress的2.5博客网页标题无标题的优化插件。 [...]
April 5th, 2008 02:05 2008年4月5号02:05
[...] reading How to SEO Optimize WordPress 2.5 Blog Web Page Title Without Optimal Title Plugin at Tip and [...] [...]阅读如何搜索引擎优化优化WordPress的2.5博客网页标题没有标题插件优化在提示和[...]
May 6th, 2008 19:17 2008年五月六日19:17
I use the all in one seo add on to seo optimize wordpress.我用的是所有在西增加一对瑞优化WordPress的。
http://wordpress.org/extend/plugins/all-in-one-seo-pack/
October 23rd, 2008 09:56 2008年10月23号9时56分
I’ma new commer on wordpress, I still confused on how to make my home page title like this:我是一个新的commer对WordPress的,我仍然困惑就如何使我的家乡网页标题这样的:
automatically!自动!
LaptopGarden.Net - Notebook, Laptop, UMPC, Tablet PC, Peripheral Latest News. LaptopGarden.Net -笔记本电脑,笔记本电脑,超便携移动个人电脑,平板电脑,外围最新消息。 and Reviews和评论
What should code I entered on blog?什么代码我输入的博客?
thanks!谢谢!