Wordpress title suffix plugin
Posted on | January 24, 2006 | 29 Comments
I 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
Technorati Tags: wordpress2, wordpress, plugins, seo
See Also
Comments
29 Responses to “Wordpress title suffix plugin”
Leave a Reply
April 19th, 2006 @ 11:10 pm
タイトルをサイトåã®å‰ã«è¡¨ç¤º…
WordPressを使ã£ãŸã‚µã‚¤ãƒˆã®ã‚¿ã‚¤ãƒˆãƒ«ã¯ã€ã‹ãªã‚Šã®ç¢ºçއã§ã€Œã‚µã‚¤ãƒˆå » 記事ã®ã‚¿ã‚¤ãƒˆãƒ«ã€ã¨ãªã£ã¦ã„ã¾ã™ã€‚実ã¯ã“ã‚Œã€æ¤œç´¢ã‚¨ãƒ³ã‚¸ãƒ³çµŒç”±ã®è¨ªå•者を逃ã™ã€åŽŸå› ã®ã²ã¨ã¤ã¨ãªã‚‹ã®ã§ã™ã€‚
Yahoo…
May 16th, 2006 @ 6:21 pm
[...] ダウンãƒãƒ¼ãƒ‰ http://coderseye.com/2006/wordpress-title-suffix-plugin.html [...]
June 22nd, 2006 @ 2:35 pm
Nice plugin! thanks for the effort.
July 24th, 2006 @ 11:59 am
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 :
http://www.h05t.com/seo/another-approach-to-wordpress-title-h1-and-link-structure-seo
July 31st, 2006 @ 6:32 am
[...] Wordpress title suffix plugin を使ã£ã¦ã„ã‚‹ã¨ã€è¡¨è¨˜ãŒå¤‰ã«ãªã‚Šã¾ã™ã€‚記事åã®æœ€å¾Œã«ã‚‚セパレーターãŒä»˜ã„ã¦ã—ã¾ã„ã¾ã—ãŸã€‚ [...]
September 17th, 2006 @ 10:16 pm
I cant download file. it writes that its not found.
help
October 30th, 2006 @ 11:09 am
Can’t download file too. A 404.
October 30th, 2006 @ 10:35 pm
Download link is fixed.
October 31st, 2006 @ 4:07 am
Thanks for fixing it & for this little but great & usefull plugin!
November 20th, 2006 @ 12:03 pm
Thank a lot for this plugin, It’s excatly what I need.
December 21st, 2006 @ 12:20 pm
Great Plugin!!
Thanks!
December 26th, 2006 @ 11:59 am
An idea for that plugin is great, but it doesn’t work on my blog. Please – help!
December 26th, 2006 @ 8:56 pm
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?
?January 8th, 2007 @ 3:00 pm
404 again for the download link :-/
January 17th, 2007 @ 7:59 am
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:
http://www.bloggingformortals.com/easy-search-engine-optimization-for-wordpress/
February 21st, 2007 @ 11:50 am
[...] ãŸã ã€å°‘ã—æ–‡å—化ã‘ãŒï½¥ï½¥ï½¥ï½¥ã€ŒWordpress title suffix pluginã€ã¨å…±å˜ã•ã›ã‚‹ã¨ Hatenaã§ã®ã‚¿ã‚¤ãƒˆãƒ«ãŒæ–‡å—化ã‘ã™ã‚‹ï¼ˆæ³£ï¼‰ [...]
May 19th, 2007 @ 11:35 pm
[...] Visit [...]
May 22nd, 2007 @ 3:46 pm
[...] – Blog name”, rather than “Blog name – Title”. Wordpress Users (and Han), get The Wordpress Title Suffix Plugin, Blogger users follow this method (thanks [...]
July 4th, 2007 @ 4:58 am
[...] Visit [...]
July 17th, 2007 @ 4:19 pm
[...] 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 ó [...]
September 8th, 2007 @ 12:23 pm
This is my first post
just saying HI
November 7th, 2007 @ 7:24 pm
[...] Coder’s Eyeã•ã‚“ã®ã‚µã‚¤ãƒˆã€ŒWordpress title suffix pluginã€ã‹ã‚‰ãƒ€ã‚¦ãƒ³ãƒãƒ¼ãƒ‰ã§ãã¾ã™ã€‚ [...]
December 3rd, 2007 @ 4:54 am
[...] Plugin Page [...]
January 30th, 2008 @ 7:16 pm
[...] æ¤œç´¢ã‚¨ãƒ³ã‚¸ãƒ³ã®æ•´åˆæ€§ã‚’考ãˆã‚‹ã¨ã€ã€Œã‚¿ã‚¤ãƒˆãƒ«å« サイトåã€ã¨è¨€ã†ã‚ˆã†ã«ã€<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> [...]
April 14th, 2008 @ 6:32 pm
[...] »ãŒgoogle検索ã®ä¸Šä½è¡¨ç¤ºã«å½±éŸ¿ãŒã‚るよã†ã§ã™ã€BirDesignã•ã‚“ã®ãŠæ•™ãˆã«å¾“ã„”wp-Title Suffix“ã¨ã„ã†ãƒ—ラグインを使ã£ã¦ã¿ã—ãŸã€‚ [...]
June 30th, 2008 @ 5:45 am
[...] Wordpress title suffix plugin 関連サイト:タイトルをサイトåã®å‰ã«è¡¨ç¤º « BirDesign [...]
July 17th, 2008 @ 4:55 am
[...] wp-Title Suffixã¨ã„ã†ãƒ—ラグインã§ã™ã€‚ [...]
February 26th, 2009 @ 1:10 am
afvnoranrnapn8nvp9ahprh
bfbeabarb
babarbabarbrbabnarr
barbrbnarbnnrnbabnrnbabardfrb
July 29th, 2009 @ 10:57 pm
[...] ?8?TaM Google Analytics ??????google-analytics??? ?9?Title Suffix ?????????????????????? ?10?WP Multibyte Patch [...]