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
[tags]wordpress2,wordpress,plugins,seo[/tags]
Related posts
Related posts:
- WordPress 2 multi-blogging made easy I upgraded the site to Wordpress 2 this morning. This...
- Solving WordPress 2.0 External Posting Errors Since upgrading to WP2.0 I had not been able to...
Nice plugin! thanks for the effort.
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
I cant download file. it writes that its not found.
help
Can’t download file too. A 404.
Download link is fixed.
Thanks for fixing it & for this little but great & usefull plugin!
Thank a lot for this plugin, It’s excatly what I need.
Great Plugin!!
Thanks!
An idea for that plugin is great, but it doesn’t work on my blog. Please – help!
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?
404 again for the download link :-/
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/
This is my first post
just saying HI
afvnoranrnapn8nvp9ahprh
bfbeabarb
babarbabarbrbabnarr
barbrbnarbnnrnbabnrnbabardfrb