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.

Leave a Reply

Are you looking for support?

Please ask support questions in BuddyDev Forum and help us serve you better. Please use comment for general discussion/feature suggestions.

Your email address will not be published. All the fields marked as * are required.

If you are posting code, please use <pre> { Your Code Block } </pre>. Example:- <pre> echo $name; </pre>

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">


Subscribe