“how to remove rich snippets/Schema markup in Just product Category?

#26800
  • Resolved Daraz2020
    Rank Math free

    1st Thing i love this plugins.. recently i migrate yoast to rank math… and i have one question “how to remove rich snippets/Schema markup in Just product Category?” Not “Product”

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

    Thank you for contacting Rank Math and the kind words.

    You can disable rich snippets by heading over to Rank Math > Titles & Meta > Product categories > Remove snippet data and enable this option.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Thanks Michael Davis after “Remove snippet data and enable this option.” rich snippet warning still showing in my google console..

    Daraz 2020 what is your website?

    Hello,

    Thank you for contacting Rank Math today.

    I have just checked a couple of product categories and the schema has been reduced except for the breadcrumblist schema. There are also no errors as shown below:
    Schema

    Could you please test this out on the structured data testing tool here: https://search.google.com/structured-data/testing-tool/

    Looking forward to helping you. Thank you.

    ​​​​​​

    which link can i test ? All catogries links ?

    Strange error showing i’m confused how to add sku in product cateogry ?? 😀 My all Woocommerce product already add SKU… but this error showing in category links..
    and Can you check this link please Here i am already add brand,sku,image,description but still google structured-data testing tool showing warnings and error…
    Screenshot

    • This reply was modified 4 years, 3 months ago by Daraz2020.

    Hello,

    In regards to the product error Google Structured data testing tool throws warning for the missing fields in the isrelatedTo attribute but it’s a false positive. In isRelatedTo field only product name and URL of the related products are required. You can check this in the new Google Rich Snippet testing tool: https://search.google.com/test/rich-results

    Still, if you want to remove the isRelatedTo then please add the following code in your theme’s functions.php file:

    
    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
    	if ( isset( $entity['isRelatedTo'] ) ) {
    		unset( $entity['isRelatedTo'] );
    	}
    	return $entity;
    });

    As for the affected product brands, I have tested the affected links but there are no product errors as shown below:
    Screen cap

    Please validate the fix on the search console and let me know how this goes.

    Thank you.

    Still 5 pages effected in Category..
    How Can I Add in Offer Review Bla Bla in Category :/
    Either “offers”, “review”, or “aggregateRating” should be specified
    Screenshot

    Hello,

    It is not possible to add these attributes to categories since they are reserved for products.
    I am not sure what is causing this since as you can see above I have already tested the link but no errors are reported.
    Please clear your site cache and validate again.

    Thank you.

    Ok Sir Thank You!

    Todd
    Rank Math free

    Hi Daraz,

    If you need help with anything else, please open a new support ticket here so we can help.

    We are always here for assistance.

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

The ticket ‘“how to remove rich snippets/Schema markup in Just product Category?’ is closed to new replies.