-
This may turn out to be a very stupid question, but here goes. Are we supposed to be able to write our own excerpt or anything having to do with the schema other than what Rank Math inserts automatically from the Settings? On Pages, for instance, I get a dropdown menu and I can choose and customize all sorts of things, but on Products all I get is this: https://barglobeworld.com/rank-math-2/. Could this be because I am using a single custom template for the product page in Divi?
-
Hello,
Thank you for contacting Rank math today.
Rank math automatically generates the schema for products in woocommerce and there is nothing you are missing, that is just how it is supposed to be.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Ok, thanks Michael. I got a bit confused when I was reading your Configuring Schema Markup in Rank Math article which says: The Product Rich Snippet is the most useful when you’re talking about products. If you’re an ecommerce store, adding the Product Rich Snippet to your product pages is highly recommended. Here are all the options that you would see in the Product Rich Snippet.Then it goes on to demonstrate the options that are available.
I was quite happy about that because Google Search Console keeps notifying me about missing information like how long the price is good for, gtin number, etc. Is that something I could perhaps add in the Custom Fields area of the Rank Math Products settings? Google Search Console is even saying that I am missing the field “brand.” I have brand as a product attribute, but I guess that’s different.
Hello,
Rank Math takes the schema data from your product pages automatically and turns it into Schema-ready content.
I will talk to you about some issues you could see in Google Search Console when using a product schema:
For example, the aggregateRating and review fields are taken from your actual product reviews that your buyers/customers leave on your products.
If you don’t have any reviews yet, that is going to show up as a warning in the schema testing tool. That’s because Google will actually look for those fields.
Please acquire some reviews and ratings to get rid of the
aggregateRating
andreview
warnings.You can fix the SKU and availability issue easily as well:
To fix the
brand
warning, head over toWordPress Dashboard > Rank Math > General Settings > WooCommerce
and choose from any of the available fields to use as your product’s brands.If you want to use a custom value for your Brands, you can do that by using the following code in your theme’s functions.php file:
// Add Brand for Products. add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) { $entity['brand'] = 'Rank Math; return $entity; });
Replace the “Rank Math” text with your actual brand name then run your website through the Structured Data Testing tool once again.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Your Woocommerce settings look different than mine? Mine says Remove Schema Markup on Shop Archives (not remove snippet data from shop pages), which I don’t know really whether to do or not.
Anyway, I have “Product Brand” chosen in that dropdown menu, which is my product attribute for Brand. I did have that section toggled on for a while, now I toggled it off. I thought perhaps it’s why Google wasn’t understanding it (?)
I now have it set up like this: https://barglobeworld.com/rank-math-3/
Hello,
My colleague shared a screenshot from older version of Rank Math. The one you see does the same thing.
Please share the URL where you are getting structured data issues so we can check.
Hello,
Thank you for contacting Rank Math today.
I have tested your site here: https://search.google.com/structured-data/testing-tool/u/0 but I can’t seem to replicate the specified issue. Your site doesn’t seem to have a product schema markup which is the common cause for the highlighted errors(check attached screenshot).
Are you still facing the errors. Please let us know so we can look into it.Archive pages in wordpress usually refer to pages/posts collection grouped in terms of their categories/tags/ dates/ authors and such. The thing to note is that they don’t really exist for editing.
Looking forward to helping you. Thank you.
​​​​​​
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
I’m worried now. I thought Rank Math generates product schema automatically. Do I perhaps have to install the Schema Markup Rich Snippets plugin in addition to the Rank Math SEO plugin?
Here is a screenshot of the latest from Search Console. As I mentioned before, the brands and the identifying numbers are the ones that are unclear to me because I don’t know where to enter those.
I shared a couple of screenshots regarding the Search Console errors in the Sensitive Data area. But if you say I’m not showing any schema markup, please help!
Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
​​​​We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated 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,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Thanks so much. I would really appreciate your insight! 🙂
Hi,
1. For the WooCommerce products, Rank Math only offers two options for the Schema
None
ProductThe Schema is automatically generated from your Product content if you choose the
Product
Schema.2. You do not need to install the
Schema Markup Rich Snippets plugin
. We have discontinued that plugin. Those features are built into Rank Math SEO.3. On your product page, I see two Product Schemas:
The first one is added by Rank Math and shows the same meta description and Schema description as the one you set in Rank Math:
RM Screenshot:
Screenshot of the Structured data:
Now, the second product Schema you have doesn’t have the same description as you set but that Schema is not coming from Rank Math. I think your theme or some other plugin might be adding it. You will need to disable all plugins and your theme and then re-enable them one by one until you find the theme/plugin adding the second set of Schema.
https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fbarglobeworld.com%2Fworld-globes%2Fwestminster-replogle-floor-globe%2F4. In this post, the issues are because you do not have any reviews. Once you add at least one review, most of those warnings and the error will go away.
5. For all other Schema warnings, you have to check this reply from my colleague:
https://support.rankmath.com/ticket/rich-snippet-settings-override/?view=all#post-59141Once you add that information to your products, the warnings in the Schema added by Rank Math will go away. You still need to remove the other Schema added by some non-Rank Math plugin plugin/theme.
If I missed anything, please do not hesitate to get back so we can help.
Sorry, here is the missing image showing the product attributes in Woocommerce:
Also, I just realized that one of the two schema markups is recognizing the brand while the other isn’t, and then the other is recognizing the “price valid until” field but the first isn’t.
It could be that Google is finding the brand errors from the second markup. Today I’m going to find out what is causing the second schema markup.
- This reply was modified 4 years, 5 months ago by Dap&js.
Hello,
The error you are getting in the Structured Data is on the archive pages. It is recommended not to show products’ Schema data on the archive pages. That’s the reason we’ve added an option in the Settings to disable the snippet data on the Product category and shop page. Here’s a requirement from Google:
https://developers.google.com/search/docs/guides/sd-policiesPlease enable the Remove Snippet data option in Rank Math >> General Settings >> WooCommerce & Rank Math >> Titles & Meta >> Product Categories.
This should fix the issue.
I hope that helps. If there is anything else, please let us know.
Thank you Pratik,
I’m assuming you mean the error regarding a second schema markup? I enabled the remove snippet data option in the product categories and I’m still getting two markups. But I discovered something interesting as well as I was trying to troubleshoot what could be causing the second markup.
Todd wrote: “Now, the second product Schema you have doesn’t have the same description as you set but that Schema is not coming from Rank Math.”
Well, here’s my question. I turned Rank Math off. It was the ONLY plugin I disabled. And both markups are gone. Would that not indicate that it’s coming from Rank Math?
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.
The ticket ‘Rich Snippet settings override’ is closed to new replies.