Posted on: February 26, 2024
Written by: Mick Sherry
To remove all schema markup automatically generated by the Yoast SEO plugin, do the following:
1. Add this snippet to the bottom of your functions.php file or add it to your site using a code manager plugin:
add_filter( 'wpseo_json_ld_output', '__return_false' );
2. Save, and clear your website cache (if you are using a caching plugin.)
3. Run your website URL through the structured data testing tool to check that it has worked.
Leave a comment below if this has been helpful or if you are having any issues getting it to work.
Hopefully this has been helpful.
For further assistance regarding my website design and search engine optimisation combined service, please check out my SEO consulting services or affordable SEO for small businesses in Australia
Get in contact by calling +61 431 739 070.
Thanks you saved my time. I spent hours on search easy solution because yoast schema caused a big mess on my websites
Thanks for letting me know, I’m glad it helped you out.