How to SEO Optimize WordPress 2.5 Blog Web Page Title Without Optimal Title Plugin

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. 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 wp_title() template tag 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.

As before WordPress v2.5, wp_title tag is pretty much static, a lot of users rely on 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 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. 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.

Typically, most WordPress theme design will have the following line of code to display a page title:

<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. 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. 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

<?php wp_title('sep', echo, 'seplocation'); ?>

sep (string): Text to display before or after of the post title (i.e. the separator). By default (if sep is blank) then the » (») symbol will be placed before or after (specified by the seplocation) the post title.

echo (boolean): Echo the title (True) or return the title for use as a PHP string (False). Valid values is either 1 (True) which is also default value and 0 (False).

seplocation (string): Defines the location of where the sep string prints in relation to the title of the post. For all values except ‘right’, the sep value is placed in front of (to the left of) the post title. If the value of seplocation is ‘right’ then the sep string will be appended after the post title.



4 Responses to “How to SEO Optimize WordPress 2.5 Blog Web Page Title Without Optimal Title Plugin”

  1. Eternalmoonlight.net » Life tips #5
    March 30th, 2008 18:31
    1

    [...] How to SEO Optimize WordPress 2.5 Blog Web Page Title Without Optimal Title Plugin. [...]

  2. How to SEO Optimize WordPress 2.5 Blog Web Page Title Without Optimal Title Plugin (Excerpt) » My Digital Life
    April 5th, 2008 02:05
    2

    [...] reading How to SEO Optimize WordPress 2.5 Blog Web Page Title Without Optimal Title Plugin at Tip and [...]

  3. Registry cleaners review
    May 6th, 2008 19:17
    3

    I use the all in one seo add on to seo optimize wordpress.

    http://wordpress.org/extend/plugins/all-in-one-seo-pack/

  4. zigunawan
    October 23rd, 2008 09:56
    4

    I’m a new commer on wordpress, I still confused on how to make my home page title like this:

    automatically!
    LaptopGarden.Net - Notebook, Laptop, UMPC, Tablet PC, Peripheral Latest News. and Reviews

    What should code I entered on blog?

    thanks!

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to Tip and Trick Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

Incoming Search Terms for the Article

wordpress title seo - title - seo wordpress 2.5 - wordpress 2.5 static homepage - seo optimize wordpress - wordpress 2.5 seo - seo for wordpress 2.5 - how to optimize wordpress for seo - wordpress srpski - wordpress seo title 2.5 - optimise wordpress - seo wordpress title - seo title wordpress - WORDPRESS wp_title - wordpress 2.5.1 seo addon - change title wordpres seo - wordpress title before symbol - wordpress page title seo - optimize wordpress seo - wordpress static home page 2.5 - optimal title for wordpress 2.5 - Optimize Wordpress blog - wordpress 2.5 static home page - wordpress 2.5 setting home page - wordpress 2.5 seo title - seo optimize wordpress blog - titulo pagina wordpress wp_title - optimize wordpress queries - wordpress 2.5 title - wordpress seo addon - - seo title separator - wp_title seo - wordpress seo static home page - wordpress 2.5.1 page titles - wordpress 2.5 title tag - seo optimise - wordpress browser title - Optimize the Wordpress Page Titles - how to seo optimize wordpress - word press + page titles - seo wordpress page title - wordpres seo - seo optimise wordpress - seo optimizing wordpress - wordpress change page name to post title - flash wordpress page title - optimise wordpress title - optimize wordpress for SEO - Optimizing Wordpress Title -