Hello @cristianstaan,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
Please note the WebPage Schema is added automatically to all the pages by our plugin and it uses the information from the page to do it.
You can test the schema available on a page using https://validator.schema.org/ or https://search.google.com/test/rich-results
Hope that helps and please don’t hesitate to let us know if you have any other questions.
But when when test the rich snippets I see Article instead of WebPage: See this screenshot: https://i.imgur.com/lw7oglS.png
I get the idea that WebPage is listed inside the Article schema using the isPartOf https://i.imgur.com/DSBGd3k.png but is this correct?
I can’t consider the homapage or other page an article since all fo them are pages not blog articles.
Let me know what do you think.
Thanks
@cristianstaan This is a support topic, not a review. I’m moving the topic from reviews to support.
Thanks! I’m still waiting a response on my previous reply.
On my sites, the home page, and other pages, have a WebPage
schema item, which isPartOf the website. Perhaps you can share the relevant settings from Rank Math > Titles & Meta > Pages, as well as the schema configuration from the page itself.
Hello @cristianstaan,
The WebPage Schema type is not eligible for Rich Results so it will not be visible in the Rich Results test as an individual Schema. The Article Schema is showing because you are using Article Schema type for the pages. If you don’t want to use it, please navigate to WP Dashboard > Rank Math SEO > Titles & Meta > Pages and set the Schema Type to None.
Then, add the following filter to apply the WebPage and other default Schema types like Website and Organization to the pages:
add_filter( 'rank_math/schema/add_global_entities', '__return_true' );
Here is how to add a filter to your site: https://rankmath.com/kb/wordpress-hooks-actions-filters/
Also, you must use the https://validator.schema.org/ tool to check the WebPage Schema type.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.