Split: Schema

#359563
  • Resolved Sujan Bhuiyan
    Rank Math business

    So I made 3 additional Schemas, but the original RM schema is still there for Webpage. When it’s in there it combines all three Schemas. How do I turn off the RM schema #webpage?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Sujan Bhuiyan
    Rank Math business

    Hello,

    Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.

    To remove the WebPage schema, please add the below code to the website:

    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
    	unset($data['WebPage']);
    	return $data;
    }, 99, 2);

    You can follow this guide to add the code:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Hope this helps. Let us know if you need any other assistance.

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

The ticket ‘Split: Schema’ is closed to new replies.