How to remove “person”, “breadcrumbs” from Schema types

#860898
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    We apologize for the issue you are facing. To remove the "Person" and "Breadcrumbs" Schema types from your posts or pages, you can follow these steps:

    Removing Person Schema

    1. Navigate to the Schema Settings: Click on the Schema tab in the Rank Math SEO settings for the specific post or page.
      Click on Schema Generator

    2. Delete the Person Schema: Under Schema in Use, find the Person Schema and click the delete icon next to it. Confirm the deletion by clicking Yes on the confirmation dialog.
      Delete the Schema in Use

    3. Update Your Post or Page: After making changes, update the post or page as you normally would.
      Click on Publish

    Removing Breadcrumbs Schema

    The Breadcrumbs Schema might still be added based on your sitewide Schema settings. To remove it:

    1. Navigate to Rank Math Settings: Go to Rank Math > Dashboard in your WordPress admin area.
    2. Disable Breadcrumbs: Ensure that the Breadcrumbs option is disabled in the Schema settings.

    You can verify that the Schema has been removed using the Schema Testing Tool.

    If you have any further questions or need assistance, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further!

    Sources:
    Removing Schema From Your Posts & Pages » Rank Math

    Hello,

    Thank you for contacting us and bringing your concern to our attention.

    If you want to remove the breadcrumbs schema, please use the following filter on your website:

    add_filter( 'rank_math/snippet/breadcrumb', function( $entity ) {
    	return false;
    });
    

    Regarding the Person schema type, can you please confirm if you’re referring to the author details? If so, please use the following filter:

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

    Here’s how you can add filter/hook to your WordPress site: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Let us know how it goes. Looking forward to helping you.

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

The ticket ‘How to remove “person”, “breadcrumbs” from Schema types’ is closed to new replies.