how to remove woocommerce default schema

#182589
  • Resolved Ali Saber
    Rank Math free

    hi
    woocommerce has his own default schema. i want to disable it so i just want rank math schema .
    i dont want to disable rank math schema for products , but when i create a product and then fill out product details in product page , woocommerce will create auto schema , i want to disable it.

    i tested many times , i created many products and its the same …

    so here is problem:
    By default, WooCommerce adds Product schema for all product pages.
    According to Google guidelines, a page should not have duplicate product schema.
    we need to disable WooCommerce product default schema.

    i read many tickets with this problems , they tested everything and they think its the rank math problem but it is the WooCommerce default schema for products , please do something about it in new updates.
    thank you for supporting and this awesome seo plugin

Viewing 7 replies - 1 through 7 (of 7 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thanks for contacting us and we regret the inconvenience caused.

    I tested on my end by creating a product and then I removed the default schema applied from Rank Math > Titles & Meta > Product. Further, I checked the source of the product page and I did not see any additional product schema.

    Could you please share some of the affected URLs in the sensitive data section of this ticket so that we can further investigate the issue? You can access the sensitive data section by editing your first post on this ticket.

    Looking forward to helping you.

    Thanks.

    Hello,

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

    Thank you.

    as i said before its not because of rank math , dont lock for any setting in rank math , this problem is because the woocommerce has his own default schema.
    i need some code or something so i can use it in function.php for disabling woocommerce default schema for products .
    please check the links that i send in Sensitive Data.
    should i reinstall the rank math?( because i set Rank Math > Titles & Meta > Product to none but its still the same )

    i create one more product again and its the same again , when wi fill product details such as price and …
    it will create one more schema.

    Prabhat
    Rank Math agency

    Hello,

    Thanks for your reply.

    I visited your website and I was able to replicate the issue. The other Product schema is not in the Rank Math’s schema section. Also, this is not what I replicate on my installation.

    Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Please let us know how that goes.

    Thanks.

    as i said before this problem is because the woocommerce has his own default schema.
    i need some code or something so i can use it in function.php for disabling woocommerce default schema for products .
    when i add product details it create schema (so its because of woocommerce )

    Prabhat
    Rank Math agency

    Hello,

    Thanks for your reply.

    We do not have a ready code for this issue. Also, we cannot provide a code unless we’re certain about the issue.

    Since I was unable to replicate the issue on my end, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress 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,

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

The ticket ‘how to remove woocommerce default schema’ is closed to new replies.