• Resolved Cristian Stan

    (@cristianstaan)


    We have a problem with RankMath. It doesn’t have an option to set WebPage as Schema type for pages.

    The article schema type is not a solution. Can’t understand why there is no option to this as a custom schema type.

    WebPage is nothing fancy and has to be added on the plugin.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Rank Math Support

    (@rankmathsupport)

    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.

    Thread Starter Cristian Stan

    (@cristianstaan)

    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

    Moderator Support Moderator

    (@moderator)

    @cristianstaan This is a support topic, not a review. I’m moving the topic from reviews to support.

    Thread Starter Cristian Stan

    (@cristianstaan)

    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.

    Plugin Support Rank Math Support

    (@rankmathsupport)

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.