BuddyDev

Remove This site is optimized with the Yoast SEO plugin vx.y.z

Yesterday, while looking at one of my site’s generated source, I found this string

This site is optimized with the Yoast SEO plugin v7.5.1 – https://yoast.com/wordpress/plugins/seo/

That was very interesting as I do not remember allowing any plugin to add a love letter to my html source. I thought WordPress.org hosted plugins had no source stalking policy(It turns out my thought might have been a bit biased presumption). My poor source.

Anyway, Its is very easy to remove. All you have to do it add the following code to your theme’s functions.php

And the love letter will be gone.

Next time when you see this notice, no need to think what the yoast this is. Put the code in your theme’s functions.php and your generated source will live happily ever after.

Comments are closed.

Subscribe