How to disable Yoast SEO Schema JSON-LD completely

Prem Tiwari - - WordPress Beginners, WordPress Functions


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.


Prem Tiwari

Prem Tiwari is the founder of FreeWebMentor.com and also a professional developer and a blogger by hobby.

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.