Really Simple SSL

Plugin conflict force rewrite title Yoast

*Update*

This issue should be resolved in the 2.4 version. I left the Yoast check for now, but this warning will be removed in future versions.

If you get this warning and the mixed content fixer does not work, please let me know.

——————-

When the “Force rewrite titles” function from Yoast is active, the mixed content fixer of Really Simple SSL won’t work.

Most sites that have “Force rewrite titles” from Yoast activated, use a theme that doesn’t use the wp_title() function. This function inserts the website title into a page. Plugins like Yoast hook into this function to optimize or edit the page title.
If you do not have wp_title(), Yoast offers the option to force rewrite the title anyway. This conflicts with the mixed content fixer.
Update: As of a recent update, the Yoast plugin does not show this option in all cases. But in some cases Really Simple SSL still detects the database setting. If this is the case, you won’t find the Yoast option in your settings and you can safely dismiss the warning. If the force rewrite is actively used, you have two options.

Step 1:

For both solutions, you’ll have to disable the “Force rewrite titles” option in Yoast. You can find this option in SEO / Titles & Meta’s / General.

Step 2 option 1: Turn off the Mixed content fixer

Fix all your mixed content manually, and turn off the mixed content fixer in the settings.

Step 2 option 2: Get your theme to write titles itself

If you need the mixed content fixer and your titles disappear if you disable the Yoast option, you could add the title to your WordPress header.

  1. Look for the <head></head> tags. Most of the time, you can find these in the header.php of your theme. Of course, the best option is to edit this in a child theme.
  2. Between these tags, add wp_title(), like so:

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

For more information on wp_title, see the WordPress reference.

Rogier

Rogier

Related articles

Join our mailing list - 8 Tips & Tricks in your inbox over the next 8 weeks!