Schema Injection Persisting Despite Module Disablement

#1084269
  • Resolved Stuart Forsythe
    Rank Math free

    I’m experiencing persistent schema injection issues across my WordPress site (https://www.paintaroof.com.au), even after disabling all schema modules and removing templates.

    Here’s a summary of what I’ve done:

    Disabled the Schema module in Rank Math settings

    Removed all schema templates from affected pages

    Installed and configured the “Remove Schema” plugin to strip all structured data

    Purged all caches (WP Fastest Cache, NitroPack)

    Validated pages using Google’s Rich Results Test

    Despite this, schema types like Organization, WebPage, and LocalBusiness are still being injected globally—even on pages that don’t use FAQ or LocalBusiness schema. For example, this Rich Results Test shows invalid Organization schema on a non-FAQ page: 👉 Rich Results Test – Roof Painting Case Studies

    This issue is affecting validation across the entire site and forcing me to consider disabling Rank Math schema entirely.

    Can you please advise:

    How to fully suppress all schema output, including default types like Organization and WebPage?

    Whether there’s a known issue with schema injection persisting after module disablement?

    If there’s a recommended way to reintroduce schema manually without conflict?

    I’ve spent two full days troubleshooting this and would appreciate your help resolving it.

    Thanks in advance, Stuart Digital Lead – Paint A Roof

Viewing 1 replies (of 1 total)
  • Hello,

    We apologize for the issue you are facing with persistent schema injection on your WordPress site. Thank you for providing a detailed summary of the steps you’ve taken to troubleshoot this problem.

    To fully suppress all schema output, including default types like Organization and WebPage, you can follow these steps:

    1. Disable the Schema Module: You’ve already done this, but ensure that it is completely disabled in the Rank Math settings under Rank Math SEO → Dashboard → Modules.

    2. Remove Schema from Individual Posts/Pages: You can check each post/page to ensure that no schema is set under the Schema tab in the Rank Math meta box. If any schema types are still listed, delete them.

    3. Check for Other Plugins: Sometimes, other plugins may also inject schema markup. Ensure that no other SEO or schema-related plugins are active that could be causing conflicts.

    4. Use Code Snippets: If the above steps do not resolve the issue, you might consider adding a code snippet to your theme’s functions.php file to remove all schema output. Here’s a sample snippet:

      add_filter('rank_math/json_ld', '__return_empty_array');

      This will effectively disable all JSON-LD schema output from Rank Math.

    5. Database Check: In some cases, remnants of schema data may persist in the database. You might want to check your database for any leftover schema entries related to Rank Math.

    Regarding your second question about known issues with schema injection persisting after module disablement, there have been instances where users reported similar issues. It’s often related to caching or conflicts with other plugins. Since you’ve already purged caches, it might be worth checking if any server-side caching is still active.

    For reintroducing schema manually without conflict, we recommend using the built-in schema options in Rank Math after ensuring that all previous schemas are removed and conflicts are resolved. You can also consider using the professional setup service offered by Rank Math to ensure everything is configured correctly according to the latest SEO standards. You can find more information about this service here.

    If these suggestions do not resolve your issue, please reply to this ticket with any additional details or errors you encounter, and a human agent from our support team will assist you further.

    Thank you for your patience as we work to resolve this issue!

    Sources:
    Removing Schema From Your Posts & Pages » Rank Math
    Resolving Rank Math Schema Markup Related Issues
    How To Fix mainEntity Schema Issues in Rank Math » Rank Math
    How to Remove Keywords Data from Article Schema » Rank Math

    This is an automated reply from Rank Math Support Bot. If you need further assistance, please reply to this topic and a human support agent will reply to you shortly.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Schema Injection Persisting Despite Module Disablement’ is closed to new replies.