hi, does any know how can i remove the space in wordpress title, please? for example: my title is: wordpress seo i check the souce: the title become: <title> wordpress seo</title> there are so many space between <title> </title> any one know what is going on, please? I am using add-meta-tag as plug in . and i am using wordpress 2.2.1new version
You might as well edit the template yourself, it would be far more effective than relying on plugins.
nks is right, it's probably just a space in the template to make the template look nice. Raw code doesn't have to look nice so just open up header.php and take it out.
<title><?php if (function_exists('seo_title_tag')) { seo_title_tag(); } else { bloginfo('name'); wp_title();} ?></title> I can not see any space in my heaer.php file
there are all in one seo plugin on official wp plugin site. you can try one of them as an alternative
if he does that won't the title be the same on all pages ? here is the link to seo title plugin: http://wordpress.org/extend/plugins/seo-title-tag/
By hard-coding I mean use plain HTML instead of php like this - <title>desired title</> SEO title plugin link: netconcepts.com/seo-title-tag-plugin enable the plugin and in header.php delete existing title tag and paste this code <title><?php if (function_exists('seo_title_tag')) { seo_title_tag(); } else { bloginfo('name'); wp_title();} ?></title> PHP:
I'm using wordpress all-in-one seo pack, and pretty happy with the results. You can see my business blog which uses this plugin.
This is the Optimal Title plugin for wordpress. Putting the name of your post before the name of your blog. This is extremely important because search engines rank the first few words of your page title the most important. Also, make sure that your title tags are short and concise, especially on content pages. elasticdog.com/2004/09/optimal-title/ Edit: After taking a look at that All-In-One SEO Pack.. it looks pretty good! Check that one out.