an extra site title in my blogs titles (fairly easy I hope)

carpanta
carpanta used Ask the Experts™
on
a few examples in bold the part I dont want or intended when typing each title (that part in bold its also my site's name):

Perder Peso sin Cirugia | Blog De Cirugia Plastica y MedicinaBlog De Cirugia Plastica y Medicina

blefaroplastia bogota | Blog De Cirugia Plastica y MedicinaBlog De Cirugia Plastica y Medicina

the first "blog de cirugia plastica y medicina" I typed it in that specific blog post, but the second ones are automatically added, and without a break between words as you can see. I want to only appear as titles the ones I type in every separate blog, without that automatic part in bold with my site title again, like this:

Perder Peso sin Cirugia | Blog De Cirugia Plastica y Medicina

blefaroplastia bogota | Blog De Cirugia Plastica y Medicina



heres my blog
http://susmedicos.com/blog/consejos-salud/riesgos-de-las-pastillas-para-bajar-de-peso/

thanks for any help
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Word press you need to adjust how it is displayed. in the admin panel.
Jason C. LevineDon't talk to me.

Commented:
ceo_tech, that's a terrible answer.  Where should the asker go in the admin panel?  What needs to be adjusted specifically?  Does the theme enter into it?  Are any plugins in play?

----------------------------------------------------------

carpanta,

There are multiple ways to tackle the problem.  The short version as to why this is happening is your current theme is set to automatically add the Page/Post title to the Site Title you set in Settings | General in the admin backend.  So by adding the "| Blog De Cirugia Plastica y Medicina" to end of the page title, the theme is only doing what it is programmed to do.

Two possible solutions:

1) Install and use a good SEO plugin such as the Yoast SEO:

https://wordpress.org/plugins/wordpress-seo/

This plugin allows to modify your overall site rules for page and post titles as well as on a specific page/post basis.  You need to go into the plugin settings and configure the Titles and Metas section but it will work.

2) Modify the theme's header.php file to remove the extra code causing the problem:

If you go to Appearance | Editor, you should see your theme's header.php file (unless this is a child theme...if so, let me know and I will provide alternate instructions).  Open that file in the editor and look for the title tag.  It should look something like this:

<title><?php wp_title(); ?><?php bloginfo('name'); ?></title>

Just remove the <?php bloginfo('name'); ?> and save the file.  That should stop the duplication.

Author

Commented:
thanks Jason, I was left amazed by ceo_tech response because Im used to a certain standard in this place, both in the answers and posters, and suddenly I felt like in yahoo answers. Less helpful answer and mroe vague I cannot imagine, thank god you came to the rescue!

I already had the yoast plugin installed but I didnt have the "Force rewrite titles" enabled, I checked that option, do you think just by doing that the issue will be solved or do I need to go with your second solution?
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Jason C. LevineDon't talk to me.

Commented:
I didnt have the "Force rewrite titles" enabled, I checked that option, do you think just by doing that the issue will be solved or do I need to go with your second solution?

Force Rewrite Titles should work.  If it doesn't, it's because the theme designer went a little nuts and the Yoast plugin can't actually find the title tag.

Author

Commented:
jason, seems it worked, but could you please check? I dont trust my PC alone because I have so much stuff going on
Don't talk to me.
Commented:
Looks good to me.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial