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!謝謝!