The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Yoast SEO
[Plugin: WordPress SEO by Yoast] title snafu (2 posts)

  1. matrixsurfer
    Posted 4 years ago #

    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


  2. SuperFastCars
    Posted 4 years ago #

    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;

    	if(is_home() || is_front_page()) {
    		echo bloginfo("name") . " | " . bloginfo("description");
    	} else {
    		echo wp_title('', true, 'right');

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic