Link to home
Start Free TrialLog in
Avatar of carpanta
carpantaFlag for Colombia

asked on

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

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
Avatar of ceo_tech
ceo_tech

Word press you need to adjust how it is displayed. in the admin panel.
Avatar of Jason C. Levine
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.
Avatar of carpanta

ASKER

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?
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.
jason, seems it worked, but could you please check? I dont trust my PC alone because I have so much stuff going on
ASKER CERTIFIED SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial