Yoast SEO
[resolved] Yoast SEO doesn't rewrite correctly for blog summary page onl (2 posts)

  1. Michael
    Posted 4 years ago #

    Hello fine Yoast folks:

    First the background info:

    Website: http://www.dalluva.com/wine-journal/
    WP Version: 3.3.1
    Yoast SEO version: 1.1.5

    Themify.me theme information:
    Rezo Version: 1.2.1
    Framework Version: 1.1.2

    I have recently switched to using Yoast SEO plugin for my site (I abandoned AIOSEO for a number of reasons). The SEO plugin seems to be re-writing the <title> of a given page properly. I had to check the "Force rewrite titles" tick box because my theme (rezo from http://themify.me) uses the following code for setting <title> in header.php:

    <title><?php if (is_home() || is_front_page()) { echo bloginfo('name'); } else { echo wp_title(''); } ?></title>

    However, I noticed that the <title> for the page I used for my blog front page isn't getting re-written. I don't really understand how Yoast SEO re-writes the title, but it must be hooking in somewhere other than header.php.

    I've asked the folks at Themify to help me understand where all <title> gets set in the theme, and then I can figure out what to do from there.

    To illustrate the problem:
    Right now, my blog page (http://www.dalluva.com/wine-journal) has a title of "Journal - 1/2 - Dall'Uva". I am trying to set it to "Dall'Uva Wine Journal" using the normal Yoast SEO method, but it doesn't make any difference.

    That (maybe) tells me that somewhere in the rezo theme, this particular setting of <title> is done outside of header.php when displaying the front summary of the blog (not the home page of the website at http://www.dalluva.com, which is just a page).

    SO THE QUESTION IS, how does Yoast do the re-writing of <title>? Does it modify it on the fly? Does it somehow intercept header.php? You can tell I'm a newbie at this, but I don't really understand the inner workings of how Yoast SEO changes the <title>

    Thanks for any pointers.


  2. Michael
    Posted 4 years ago #

    I have resolved this, I had previously set the "Force rewrite titles" on and it looks like it wasn't necessary for the Themify Rezo theme.


Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic