Tricks with Yoast SEO

OK, so probably everyone knew about this one, but I’ve been having trouble with it for a while now, so I decided to see what others had done to solve the problem.

When you install Yoast SEO, you can type in the page title of your page that you want to show up in the search engines.  What Yoast does, if you don’t adjust it, is it puts the site title in, along with your customized page title.

So, what is the solution?

<!–<title><?php woo_title(); ?></title> Note this was changed to make the Yoast not conflict.–>

<title><?php wp_title(”); ?></title>

The first line of code was what I had in the header tag.  The second is what I changed it to.

And that was all I needed to do to solve my problem.  And since I’m working with a child theme, I don’t have to worry about overwriting that particular change.

I’m wondering if that is something Yoast should talk about, and let people know about, so they are not tearing out their hair over something that is supposed to improve their lives.


Leave a Reply