• Resolved elettrb3l

    (@elettrb3l)


    Hello, I am experiencing an issue where my WooCommerce product pages are incorrectly assigned the Open Graph type article instead of product.

    Example of what I see in my source code: <meta property="og:type" content="article" class="yoast-seo-meta-tag" />

    What I have already configured:

    1. In Yoast Settings > Content Types > Products: The Schema type is set to ItemPage (Pagina elemento).
    2. I have already cleared all caches (Server, Cloudflare, and Plugin).

    Since I have an e-commerce with over 50,000 products, having them tagged as “articles” is affecting how they appear on social media and potentially confusing crawlers about the page’s intent.

    • How to force to change og:type to product for the WooCommerce “product” post type?

    Thank you for your help.

Viewing 1 replies (of 1 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @elettrb3l,

    Thanks for reaching out. I tested this locally and can confirm the behaviour you are seeing is expected. With only Yoast SEO active, WooCommerce product pages output:

    <meta property="og:type" content="article" />

    When the Yoast WooCommerce SEO plugin is active, the output changes to:

    <meta property="og:type" content="product" />

    So the “Schema type” setting under SEO → Settings → Content types → Products only affects the Schema.org markup and does not control the Open Graph type. At the moment, outputting og:type="product" requires either:

    • the Yoast WooCommerce SEO plugin, or
    • a custom code customization
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.