How to disable Yoast SEO Schema JSON-LD completely

In this tutorial, we are going to share how to disable Yoast SEO schema JSOM-LD completely by using the simple WordPress code.

Yoast SEO 11.0 features a completely rewritten Schema.org implementation — the first one of its kind, offering a fully integrated graph.

By default Yoast, doesn’t include a setting to disable their Schema Data.  They do an OK job constructing it but some of you may want to disable it completely if you’re using another plugin or method to generate it.

How to disable Yoast SEO Schema JSON-LD completely

Login to your WordPress dashboard and head over to the editor within the tab menu appearance, find your functions file (normally named functions.php) and add the code below just before the PHP tag is closed at the bottom.

Save the file and refresh you page, the Yoast Schema Data has been removed from your site.

If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:


Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of FreeWebMentor.com (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.