October 6, 2015

WordPress title suffix plugin

adapter Wordpress title suffix pluginI read some research recently which seems to show that keywords matter to search engines in your site’s “title” tag. Not only that, but position matters. Preferably your page title should precede your site title.

Unfortunately WordPress is coded to make that sort of ugly. If you simply reverse the wp_title and wp_bloginfo(‘name’) calls, you get ugliness in two ways. If what you want is “keyword – sitename”, then you have to live with the default title for your site looking like “- sitename”. Ugly. Then if you are on a titled page, you get “» keyword – sitename”. I don’t know about you, but I think that’s ugly too.

So, enjoy my tiny little WordPress plugin. It will strip out the leading “»” and will not put the dash in unless there is something preceding it. I’m no PHP god, but that was both easy and fun, due to the “hook” system WordPress implements so nicely. You’ll still have to reorder your themes to have “wp_title” listed before the sitename, but at least it will look prettier now.

Download: wp-title-suffix.zip


Related posts

Share and Enjoy:
  • services sprite Wordpress title suffix plugin
  • services sprite Wordpress title suffix plugin
  • services sprite Wordpress title suffix plugin
  • services sprite Wordpress title suffix plugin
  • services sprite Wordpress title suffix plugin
  • services sprite Wordpress title suffix plugin
  • services sprite Wordpress title suffix plugin
  • services sprite Wordpress title suffix plugin

Related posts:

  1. WordPress 2 multi-blogging made easy I upgraded the site to Wordpress 2 this morning. This...
  2. Solving WordPress 2.0 External Posting Errors Since upgrading to WP2.0 I had not been able to...

About Bruce Kroeze


  1. Tchakra says:

    Nice plugin! thanks for the effort.

  2. William says:

    You may want to look into this alternative. This is what I use on my blog.

    The front page: “Blog title”
    Category page: “Category – Blog title
    Archive page: “Date – Blog title”
    Post page: “Post title”

    Code can be found at :

  3. Ar2r says:

    I cant download file. it writes that its not found.

  4. RIGHT says:

    Can’t download file too. A 404. :(

  5. Bruce says:

    Download link is fixed.

  6. RIGHT says:

    Thanks for fixing it & for this little but great & usefull plugin!

  7. Thank a lot for this plugin, It’s excatly what I need.

  8. Bárbara says:

    Great Plugin!!


  9. klisiu says:

    An idea for that plugin is great, but it doesn’t work on my blog. Please – help!

  10. Bruce says:

    Klisiu, I looked at your site. From what I can tell, not understanding your language, it seems that you have some other plugin or setting which is combining with my plugin, causing it to format like so:

    pagename – site title >> Blog Archive

    I’m sorry I don’t know what setting that might be.

    The good news is that it still puts the pagename first, which is what I wanted. The bad news is that it is putting the unneeded “blog archive” on the title too.

    Possibly try a different theme? Kubrick is such an overused theme anyway. Maybe it is some hack you made to that theme?

  11. Emmanuel says:

    404 again for the download link :-/

  12. Michael says:

    I prefer the “Optimal Title” plugin because it allows you to specify a different format for your main index page than for your Posts and Pages. Lots of options are available:


  13. jameswillisisthebest says:

    This is my first post
    just saying HI

  14. aaffafd says:



  1. BirDesign says:


    WordPressを使ったサイトのタイトルは、かなりの確率で「サイト名 » 記事のタイトル」となっています。実はこれ、検索エンジン経由の訪問者を逃す、原因のひとつとなるのです。

  2. [...] WordPress title suffix plugin を使っていると、表記が変になります。記事名の最後にもセパレーターが付いてしまいました。 [...]

  3. [...] ただ、少し文字化けが・・・・「Wordpress title suffix plugin」と共存させると Hatenaでのタイトルが文字化けする(泣) [...]

  4. [...] – Blog name”, rather than “Blog name – Title”. WordPress Users (and Han), get The WordPress Title Suffix Plugin, Blogger users follow this method (thanks [...]

  5. [...] um plugin legal, o WordPress Title Suffix Plugin, ele adiciona o título do artigo, no título no blog, na barra do navegador, lá em cima ó  [...]

  6. [...] Coder’s Eyeさんのサイト「Wordpress title suffix plugin」からダウンロードできます。 [...]

  7. [...] 検索エンジンの整合性を考えると、「タイトル名« サイト名」と言うように、<title></title>タグに埋め込んだ方がいいわけです。このためtitle-suffix プラグインを 活用すると言う手があるのですが、このテーマを利用したら、「タイトル名at サイト名」になっていました。そこで、header.phpを調べると以下のようになっていました。<title><?php wp_title(”); if (function_exists(’is_tag’) and is_tag()) { ?>Tag Archive for <?php echo $tag; } if (is_archive()) { ?> archive<?php } elseif (is_search()) { ?> Search for <?php echo $s; } if ( !(is_404()) and (is_search()) or (is_single()) or (is_page()) or (function_exists(’is_tag’) and is_tag()) or (is_archive()) ) { ?> at<?php } ?> <?php bloginfo(’name’); ?></title> [...]

  8. [...] &raquo;がgoogle検索の上位表示に影響があるようです、BirDesignさんのお教えに従い”wp-Title Suffix“というプラグインを使ってみした。 [...]

  9. [...] WordPress title suffix plugin 関連サイト:タイトルをサイト名の前に表示 « BirDesign [...]

  10. [...] ?8?TaM Google Analytics ??????google-analytics??? ?9?Title Suffix ?????????????????????? ?10?WP Multibyte Patch [...]

Speak Your Mind