WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WordPress SEO by Yoast] title snafu

[Plugin: WordPress SEO by Yoast] title snafu

  • This is just driving me bonkers, and I’m sure it is an easy answer. My snippet title is “Web Design in Albuquerque – Creatively Making your Websites Pay” and yet the title that shows up in the source (and of course thus to the search engines) is “<title>Web Design in Albuquerque – Creatively Making your Websites PayWeb Design in Albuquerque</title>”

    for the life of me and can’t figure out how to make the ‘web design in albuquerque’ portion at the end disappear. If I choose your ‘overwrite’ option, I end up with nothing in the title. this has got to be the dumbest of noob question but I sure appreciate your answer

    http://wordpress.org/extend/plugins/wordpress-seo/

Viewing 1 replies (of 1 total)
  • You need to go to this file;
    wp-content/themes/(your theme folder)/header.php

    Find this;
    <title><?php (a bunch of random code) ?></title>

    To this;

    <title><?php
    	if(is_home() || is_front_page()) {
    		echo bloginfo("name") . " | " . bloginfo("description");
    	} else {
    		echo wp_title('', true, 'right');
    	}
    	?></title>

    Once you do that, you will need to force a refresh, you can clear your browser cache. Or you can press ctrl + F5 in most browsers to force a refresh. (Additionally if you are using a cache plugin, you will need to go in, and force the plugin to recreate the cache.)

    He had to change wp_title() code to make title changes possible with this plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] title snafu’ is closed to new replies.