How To Remove Organization Schema

#205365
  • Resolved Monitor Teknologi
    Rank Math free

    I’ve used the following code snippet to clear the schema in RankMath:

    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
    	if ( ! is_front_page() || ! isset( $data['publisher'] ) ) {
    		return $data;
    	}	unset( $data['publisher'] );
    	unset( $data['place'] );	return $data;
    }, 99, 2);

    But it didn’t work to remove Organization Schema on my site. Is there another way to delete it?
    This is my site URL: [moved to sensitive data section]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for the delay and for any inconvenience this issue may have caused you.

    I’ve tested the filter you have provided, and it is working on our test website.

    However, I’ve checked your site using Google’s Rich Results test, and it seems that the Organization Schema is already removed from your homepage. I’ve added the results in the sensitive data section.

    Please clear your site’s cache as it seems that Google is still seeing a cached version of your site.

    I hope that helps.

    Thank you, and please don’t hesitate to contact us anytime if you need further assistance with anything else.

    I’ve cleared the cache on my site, but the Schema code from RankMath still shows up

    https://ibb.co/9sRFNNr

    How to remove that RankMath Schema code on my site?

    Hello,

    Thank you for keeping in touch with us.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress login in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    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,

    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 3 replies - 1 through 3 (of 3 total)

The ticket ‘How To Remove Organization Schema’ is closed to new replies.