How to disable Yoast SEO Schema JSON-LD completely

By Prem Tiwari in WordPress Beginners, WordPress Functions. Updated on

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 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.

Sharing is caring!

Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of (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.

You might also like:

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.