How to set up Rank Math for WooCommerce products step by step

If you're running a WooCommerce store and you want Google to find you - it's not enough to have good products. You need Google to be able to read, understand and display them correctly in search results. That's exactly what Rank Math, one of the most comprehensive SEO plugins for WordPress, is designed to do.

This guide will walk you through the entire Rank Math setup for WooCommerce from start to finish - from installation to global settings to optimizing each product. We won't leave anything out.


Part 1 - Installation and basic setup of Rank Math

Plugin installation

In the WordPress admin, go to Plugins → Add New and search for „Rank Math SEO“. Install the plugin from the developer of Rank Math and activate it. Once activated, Rank Math will walk you through the setup wizard - I recommend going through it as it will automatically configure the basic things correctly.

In the wizard, select the site type eCommerce - Rank Math thus activates special settings for WooCommerce, including product schema and breadcrumbs.

Linking to Google Search Console

Right in the setup wizard, Rank Math offers a link to the Google Search Console. If you don't already have GSC set up, I recommend doing so - you'll get valuable data on how Google sees your site. If you have a Google account, the linking takes place in a few clicks.

Sitemap Settings

Rank Math automatically generates an XML sitemap. Once the wizard is complete, go to Rank Math → Sitemap Settings and check that the Products are included in the sitemap. Exclude pages that you don't want indexed - for example Cart, Checkout, My Account.

The finished sitemap can be found at vásaweb.sk/sitemap_index.xml. Submit it to Google Search Console via Indexing → Sitemaps.


Part 2 - Global Settings for WooCommerce

This is the part that most people skip over and yet it has a huge impact on the entire e-commerce store at once.

Setting subtitles and meta descriptions for products

Go to Rank Math → Titles & Meta → Products. Here you will set up a template for Rank Math to automatically generate a meta title and meta description for each product that does not have manual SEO data filled in.

For meta title I recommend the template: %title% - %sitename%

Alternatively, if you sell in a specific category: %title% | tegory% - %sitename%

For meta description you can use: %excerpt%

WordPress automatically takes the first 155 characters of the product description. That's a good base, but for important products, always fill in the meta description manually - an auto-generated one will never be as compelling as a hand-written one.

Setting breadcrumbs

Breadcrumbs (breadcrumb navigation) are important for SEO and for customers. In Rank Math → Titles & Meta → Global Meta turn on Breadcrumbs and select a slash as separator / or arrow .

If your breadcrumbs theme does not support breadcrumbs natively, insert the shortcode into the product template

or use the PHP function rank_math_the_breadcrumb().

Noindex for pages you don't want indexed

In Rank Math → Titles & Meta, scroll through each page type and set noindex for: cart, checkout, my account, and product tags if you don't use them for content. These pages have no SEO value and indexing them unnecessarily depletes the overall crawl budget of the site.


Part 3 - Schema markup for products

This is the most important part of the whole setup. Schema markup allows Google to display so-called rich snippets - product price, ratings, availability - directly in the search results. A result with stars and price has a significantly higher CTR than a result without them.

Product schema global settings

Go to Rank Math → Titles & Meta → Products → Schema tab. Select the schema type Product. Rank Math Pro fills in most fields automatically from WooCommerce data - price, availability, menu.

If you are using Rank Math Free, you must fill in the fields manually for each product or use a global template.

Required fields Product schema

In order for Google to display rich snippets, you must have at least one of the following three: offers (price), review, or aggregateRating. The easiest is to fill in offers - the price of the product.

In the schema form for the product, fill in:

  • Price → product price (e.g. 29)
  • Price CurrencyEUR
  • Availabilityhttps://schema.org/InStock
  • Price Valid Until → date in the form 2026-12-31

Field priceValidUntil is technically optional, but Google recommends it and may warn you in the Rich Results Test without it. Set the date with a year's margin and update once a year.

How to check the scheme

After saving, test the product page on search.google.com/test/rich-results. Enter the URL of the product and check that Google correctly loads the Product schema without errors. A green preview of the product means you're on the right track.


Part 4 - Optimising individual products

The global settings will cover the basics, but for the most important products it's worth doing some manual optimization.

Rank Math panel on the product page

When editing a product in the administration, you will find the Rank Math panel at the bottom. It contains several tabs - General, Advanced, Schema and Social.

General tab is where you spend most of your time. Here you fill in:

Focus keyword - the main keyword for which you want the product to rank. E.g. „WooCommerce currency coupons“ or „QR payment e-shop“. Rank Math then evaluates how well the keyword is incorporated in the description, headings and URL.

Meta title - write a compelling title of up to 60 characters. It should contain a focus keyword and be enticing enough to click on. Avoid just a dry product name - add context or a benefit.

Meta description - 150-155 characters telling the customer what the product does and why to buy it. This is your advertising text in Google results. Rank Math shows a live preview of what the result will look like - take advantage of it.

Advanced tab contains settings such as noindex/nofollow for a specific product, canonical URL and breadcrumb settings. For most products you don't need to change anything here - the exception is products with variations, where sometimes duplicate URLs are created.

Schema tab - here you can enter or check the Product schema for a specific product. For products with changing prices it is a good idea to go here and update priceValidUntil.

Social tab - Here you set up the Open Graph image and texts for sharing on Facebook and Twitter. If left blank, the product image and meta description will be used automatically.

SEO score in Rank Math - how to read it

Rank Math displays scores from 1 to 100. The goal is not to reach 100 at all costs - some recommendations are irrelevant to your content. Focus on these specific checks:

Keyword in the URL - The product URL should contain the main keyword or at least part of it. WooCommerce by default generates the URL from the product name, which is usually fine. Make sure the URL is not too long or full of stop words.

The keyword in the H1 heading - the product name is automatically H1, so this is mostly fulfilled.

Description length - Rank Math recommends a minimum of 600 words. For e-commerce products this is ambitious, but it is true that longer and more valuable descriptions have a chance to rank for more keywords. Don't fill the description with empty words - add sections like „Who is the product for“, „How it works“ or „FAQ“.

Internal and external links - Rank Math recommends having at least one internal link to another page on your site. Use this to link to related products or blog articles.


Part 5 - Advanced Settings for WooCommerce

Hreflang for bilingual e-shops

If you run an e-shop in both Slovak and English (such as makemehappy.sk), Rank Math Pro automatically adds hreflang tags that tell Google which version of the page is for which language. Make sure each product page has the correct language variants linked.

Canonical URL for product variations

WooCommerce products with variations (color, size) can generate URLs with parameters like ?attribute_pa_color=red. These parameters may cause duplicate content. In Rank Math → Advanced, set the canonical URL for variation products to the main product URL without parameters.

Rank Math and WooCommerce category pages

Product categories are just as important to e-commerce SEO as the products themselves - sometimes even more important, as they are targeted by more general search phrases. For each category, add a description (at least 150 words), meta title and meta description via the Rank Math panel when editing the category.

Image SEO

Rank Math includes an Image SEO module that automatically adds alt text to product images. Activate it in Rank Math → General Settings → Image SEO. Set the alt text template as for example %title% or %title% - tegory%. Alt texts are important not only for SEO, but also for web accessibility.


Part 6 - Pre-publication checklist

Make sure you quickly check these points before publishing any new product:

The focus keyword is filled in and appears in the product title, URL and first paragraph of the description. The meta title is up to 60 characters and contains the keyword. Meta description is up to 155 characters, describes the benefit and motivates a click. The schema is set to Product with price, currency and availability filled in. The field priceValidUntil has a valid date. The product image has alt text. The URL is readable and does not contain unnecessary parameters. An internal link to at least one related page is in the text.

The entire check takes two minutes and greatly increases the chances that the product will be correctly indexed by Google and displayed with rich snippets.


Conclusion

Rank Math is a powerful tool, but its power only comes into play when you configure it correctly - not just install it. Global settings provide the foundation for your entire e-commerce store, then manual optimization of important products adds that final layer that determines your position in search results.

If you've only had the basics set up so far, start with part 3 - schema markup for products. This is the change that Google will notice the fastest and can directly increase the CTR of your product pages without any change in positions.

Leave a Reply

Your email address will not be published. Required fields are marked *