Schema / Rich Snippet disabled but still showing in source code

  • Hi.

    I have Schema / Rich Snippet disabled but it is still showing in the source code. Any idea why is that? Can I somehow use a code in the functions.php to remove it?

    Cheers
    Elias

    • This topic was modified 5 days, 17 hours ago by Elias.
Viewing 13 replies - 1 through 13 (of 13 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I just see in the URL you shared with us the LocalBusiness structured data. That can be disabled by disabling the Local SEO module in Rank Math:

    null

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hi Alberto,

    thanks for your reply.

    I actually tested this before and it didn’t work. Now I have disabled it again so you can have a look as its still showing the Open Graph data for Article.

    https://i.imgur.com/DDx3Feu.png

    Hello,

    Thank you for contacting Rank Math today.

    I can also see the local business schema. If your local seo still disabled. If so, please purge your site cache then test the data again. If it still shows, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Ok. Have enabled the temp login as even when the cache is flushed it still shows. Please have a look and let me know.

    Hello,

    Thank you for contacting Rank Math today.

    It seems to have been a probable caching issue. It is currently detecting no issues( I have not made any changes on your site). Please let us know if the issue is resolved in your end too.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hi.

    The issue is still there as you can see here:

    https://i.imgur.com/zRl3TXU.png

    https://i.imgur.com/zRl3TXU.png

    Screenshot was made in Chrome / Incognito modus where is no chaching!

    Please have a look again as all settings switched of.

    Thanks

    Hi Elias,

    In the above screenshot, highlighted meta tags are not related to the local SEO, those are Open Graph meta tags for Social Media sites like Facebook and Twitter. You can find more information about them here https://rankmath.com/kb/meta-box-social-tab/

    I hope this helps.

    Thank you.

    I know this already!

    Did you read the whole thread?

    I disable local SEO (which was recommend form your college) and I also disabled the Open Graph / Schema Structure in the settings:

    https://i.imgur.com/DDx3Feu.png

    https://imgur.com/DDx3Feu

    But as you can see the Schema Data is still delivered by Rank Math!

    How can I turn this off or maybe is this a known bug?

    Please advice. Thanks.

    Hello,

    To disable the OG tags you need to add the following code to your theme’s functions.php file:
    https://rankmath.com/kb/filters-hooks-api-developer/#remove-opengraph-tags

    Hope that helps. Thank you.

    Hi,

    Please refer to this image

    There is no option to disable OG tags, you have to use the above filter to do that.

    I hope this helps.

    Thank you.

    Thank you! This worked…

    /**
     * Hook to remove og:tags
     */
    add_action( 'rank_math/head', function() {
    	remove_all_actions( 'rank_math/opengraph/facebook' );
    	remove_all_actions( 'rank_math/opengraph/twitter' );
    });

    But why do I need that code if there is a setting for it?

    Hello,

    Glad that helped.

    OG tags mean Open Graph and not Schema Markup.

    There is an option to disable the Schema Markup but there is no option to disable the Open Graph tags.

    Hope this clears the confusion. If there’s anything else we can help you with, please feel to open a new support ticket and we would be more than happy to assist.

    If it isn’t too much to ask for – would you mind leaving us a review here?
    https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post

    It only takes a couple of minutes but helps us tremendously.

    It would mean so much to us and would go a really long way.

    Thank you.​​

Viewing 13 replies - 1 through 13 (of 13 total)

The ticket ‘Schema / Rich Snippet disabled but still showing in source code’ is closed to new replies.