Home Arrow Icon Knowledge base Arrow Icon Global Arrow Icon Yoast SEO with WooCommerce
    WordPress SEO


Yoast SEO with WooCommerce


The Yoast WooCommerce SEO plugin is designed to help your WooCommerce store stand out in search results by providing advanced SEO features. Here are the key features and benefits:

Key Features

1. Product-Specific SEO Analysis: This feature helps you optimize your product pages by providing a tailored SEO analysis for products. This includes suggestions for improving product content and optimizing the SEO of your product pages[1][3].

2. Attention-Grabbing Social Media Cards: The plugin helps you create attention-grabbing social media cards by including details like product price and stock. This can lead to rich results on platforms like Pinterest, making your products more visible[1][3].

3. Improved Breadcrumb Navigation: Yoast WooCommerce SEO extends the default breadcrumb navigation provided by WooCommerce, making it more user-friendly and SEO-friendly[1][3].

4. Automatic XML Sitemap Optimization: The plugin automatically optimizes your XML sitemap to ensure that your key category and product pages get the attention they deserve from search engines[1][3].

5. Ecommerce SEO Course: The plugin includes access to the Ecommerce SEO course in Yoast SEO academy, which covers topics like site structure, site speed, and product page optimization to help you optimize your online store[1][4].

Premium Features

1. AI-Generated Titles and Meta Descriptions: The Yoast SEO Premium bundle includes AI-generated titles and meta descriptions for your product pages, category pages, blog posts, and regular site pages. This helps you work smarter and faster while publishing content that both Google and your customers love[4].

2. Global Identifiers for Variable Products: The plugin helps search engines understand the variations of your products by providing global identifiers. This increases the chance that Google will show the shopper the right variation of your product[3][4].

3. Workflows for Easier SEO Maintenance: The Yoast SEO Premium bundle includes workflows that guide you through repetitive SEO tasks, making maintenance easier and more efficient[4].

4. Integrations with Semrush and Wincher: The bundle includes integrations with Semrush for keyword research and Wincher for tracking keyword performance, helping you optimize your SEO strategy[4].

Configuration Guide

The configuration guide for Yoast WooCommerce SEO provides detailed instructions on how to set up and customize the plugin. This includes tutorials on schema and OpenGraph additions, admin settings, product identifiers, Pinterest rich pins, XML sitemaps, schema, metabox notifications, and Twitter product cards[5].

Pricing

The Yoast WooCommerce SEO plugin is available for €79 EUR per year (ex. VAT). The Yoast SEO Premium bundle, which includes Yoast WooCommerce SEO and other premium features, is also available[1][4].

Citations:
[1] https://yoast.com/wordpress/plugins/yoast-woocommerce-seo/
[2] https://yoast.com/wordpress/plugins/seo/
[3] https://woocommerce.com/products/yoast-woocommerce-seo/
[4] https://woocommerce.com/products/yoast-woocommerce-premium-bundle/
[5] https://yoast.com/help/configuration-guide-for-yoast-woocommerce-seo/

Example Custom Plugin for Yoast SEO

To create a custom plugin for Yoast SEO, you need to follow these steps:

1. Create a JavaScript Plugin:
- Ensure Yoast SEO knows of the existence of the custom data by writing a custom JavaScript plugin.
- Use ES6 syntax and adapt the code to fit your own syntax if necessary.

2. Register the Plugin:
- Create a file in your own plugin's `js/` directory (e.g., `js/MyCustomDataPlugin.js`).
- Ensure the following is present in the file:

javascript
     /* global YoastSEO */
     class MyCustomDataPlugin {
       constructor() {
         // Ensure YoastSEO.js is present and can access the necessary features.
         if (typeof YoastSEO === "undefined" || typeof YoastSEO.analysis === "undefined" || typeof YoastSEO.analysis.worker === "undefined") {
           return;
         }
         YoastSEO.app.registerPlugin("MyCustomDataPlugin", { status: "ready" });
         this.registerModifications();
       }
       registerModifications() {
         const callback = this.addContent.bind(this);
         // Ensure that the additional data is being seen as a modification to the content.
         YoastSEO.app.registerModification("content", callback, "MyCustomDataPlugin", 10);
       }
       addContent(data) {
         data += "Hello, I'm some additional data!";
         return data;
       }
     }
     

3. Register the Plugin with WordPress:
- Ensure your JavaScript code is properly loaded.
- Use the following code to register the plugin:

javascript
     if (typeof YoastSEO !== "undefined" && typeof YoastSEO.app !== "undefined") {
       new MyCustomDataPlugin();
     } else {
       jQuery(window).on("YoastSEO:ready", function() {
         new MyCustomDataPlugin();
       });
     }
     

4. Use the Plugin:
- Add the custom data to the analysis by using the `addContent` method in your plugin.

This custom plugin example adds a custom text to the text analysis.

Citations:
[1] https://yoast.com/yoast-seo-snippets-to-customize-your-site/
[2] https://developer.yoast.com/customization/yoast-seo/adding-custom-data-analysis/
[3] https://yoast.com/wordpress/plugins/seo/
[4] https://yoast.com/wordpress/plugins/yoast-woocommerce-seo/
[5] https://www.youtube.com/watch?v=u9gBl0qRmNY