Performancing Metrics

Are You Still Using the Optimal Title Plugin?

Repost This

One of the first things I install on a new WordPress blog would be the Optimal Title WordPress plugin, which fixes a blatant flaw in WordPress’s default usability and search engine optimization.

Previously, WordPress blogs have the blog title come first before the title of the blog entry, which does not help search engine optimization at all. Having your page information appear before your blog name in the title is advantageous because it provides more meaningful search engine results and browser bookmark names. And of course, we want Google to crawl the title of the blog entry first before anything else.

Optimal Title is mirrors the function of wp_title() exactly, but moves the position of the ‘separator’ to after the title rather than before.

However, Optimal Title has been deprecated. A “separator location” argument has been added to built-in wp_title() function in WordPress 2.5.

So if you’re still using Optimal Title in WordPress 2.5 and up, you can now disable that plugin and do this simple change to your header.php file.

In header.php, look for this line:

Now all we have to do is to remove optimal_title();. But we can’t preplace it with the default WordPress call (wp_title()) because the developers decided not to change the default behavior of wp_title(), and instead added the additional argument to the function in order to prevent breaking existing themes that rely on the current behavior.

Instead, use a call to wp_title('»',TRUE,'right'). Your code should look like this:

And that would be it! Now you can disable Optimal Title, and give the faithful plugin a much-needed rest.

Repost This

Categories: WordPress News, WordPress Plugins

This post was written by . You can visit the for a short bio, more posts, and other information about the author.


Comment with Your Facebook Account

Comments

  1. Not a Niche says: 1/18/2009

    You also can use the plugin wpSEO for WordPress http://wpseo.org which has much more settings for better Search Engine Optimization. It’s worth to check it out.

    Reply

  2. Darren says: 1/19/2009

    After the line: “In header.php, look for this line:” there is no code, at least on my browser. The second code line is missing too.

    Reply

  3. ryan says: 1/19/2009

    yeah nothing there. hard to find the “line of code” you want us to find! :)

    Reply

  4. nakliye says: 1/19/2009

    pls help me

    Reply

  5. Debra says: 1/20/2009

    Is there any chance that the missing code could be added? A quick look at the source code shows that the missing code is indeed missing, leading one to wonder whether this was a hoax posting. It certainly has done much to undermine the remaining credibility of this site, especially since it is now 3 days after the original posting and there is still no “code”.

    Reply

  6. nakliyeciler says: 9/4/2009

    nakliyeciler birligi

    Reply

  7. nakliyat firmaları says: 9/19/2009

    evden eve

    Reply

  8. Govtnaukri Jobs Portal says: 9/3/2011

    HI How to change plugin title in wordpress website, my website is employment news but i have another plugin free classifieds .so i want to change title as per post in classifieds section..Please give me advice my website is http://www.govtnaukri.in

    Reply

Content


Receive the top stories from BloggingPro and the Splashpress Media network every week, right in your Inbox. Relevant and timely content is yours for FREE!