WooCommerce SEO: Complete Optimization Guide
Foundation: SEO Plugin Setup
Install RankMath (recommended for WooCommerce because the free version includes Product schema, redirect manager, and unlimited keyword tracking per page) or Yoast SEO. Do not install both. Run the setup wizard and configure your store's name, logo, default social sharing images, and sitemap settings. Enable the WooCommerce module (both plugins detect WooCommerce automatically and activate ecommerce-specific features).
In your SEO plugin settings, set the default title template for products to something like %product_title% | %sitename% and the default meta description to pull from the product short description. These defaults apply to any product where you have not written custom SEO metadata, which is useful for large catalogs where writing 500 unique meta descriptions at launch is impractical.
Step-by-Step Optimization
The SEO title appears as the clickable blue link in Google search results, and the meta description appears below it. Both directly affect click-through rate. Write a unique SEO title for every product (under 60 characters) that includes the product name and a compelling modifier like the year, a benefit, or a differentiator. Example: "Merino Wool Hiking Socks, Cushioned, 3-Pack" is better than "Hiking Socks" because it is specific and matches how people search. Write a meta description (under 160 characters) that gives the searcher a reason to click: mention a key feature, the price range, or what makes this product different. Your SEO plugin shows a preview of how the title and description will appear in search results.
Go to Settings, then Permalinks in your WordPress dashboard. Set your permalink structure to "Post name" (/%postname%/). Under WooCommerce product permalinks, choose the option that uses just the product slug without a category prefix. Your product URLs should look like yourdomain.com/product/merino-hiking-socks, not yourdomain.com/shop/clothing/socks/merino-hiking-socks. Shorter, cleaner URLs perform better in search and are easier for customers to share. Edit individual product slugs to be short, descriptive, and keyword-rich. Remove filler words like "the," "and," and "for" from slugs.
WooCommerce product category pages rank well for broad, high-volume keywords like "women's running shoes" or "organic coffee." Most store owners leave category pages with nothing but a product grid, which Google treats as thin content. Add 200 to 500 words of descriptive text to each category page explaining what the category contains, who it is for, and what differentiates your products. Write a unique SEO title and meta description for each category. Use the category description field in Products, then Categories to add this content, and verify that your theme displays it on the category page (most WooCommerce themes show it above the product grid).
Duplicate content kills product page rankings. If you sell products from manufacturers who provide standard descriptions, every retailer using those same descriptions is competing for the same rankings with identical content. Write unique product descriptions that include the primary keyword naturally, describe specific benefits and use cases rather than just listing features, answer the questions a buyer would have before purchasing, and include technical specifications in a structured format (using HTML lists or a specs table). A 300-word product description that is genuinely helpful outranks a 1,000-word generic description every time.
Google Image Search drives meaningful traffic to ecommerce stores, and well-optimized images also appear in Google Shopping results. For every product image: write descriptive alt text that includes the product name and a relevant detail (alt="merino wool hiking socks in navy blue, cushioned sole"), use descriptive file names before uploading (merino-hiking-socks-navy.jpg, not IMG_4392.jpg), compress images using ShortPixel or Imagify at lossy quality 80 to 85, enable WebP conversion for smaller file sizes, and serve images in the correct dimensions (do not upload 4000px images that display at 800px). Lazy load images below the fold so they do not slow down initial page load.
Schema markup helps Google understand your product pages and display rich results (price, availability, review stars) in search results. Rich results significantly increase click-through rate. RankMath automatically generates Product schema from your WooCommerce product data (name, price, availability, description, images, SKU, brand). Verify your schema output by pasting a product page URL into Google's Rich Results Test tool. Make sure the schema includes price, priceCurrency, availability (InStock, OutOfStock), review/rating if you have product reviews enabled, and brand. If you sell products with variations, ensure your schema outputs the correct price range rather than a single price.
The WooCommerce blog (Posts in WordPress) is your most powerful SEO tool for driving traffic that product pages alone cannot capture. Product pages rank for transactional keywords ("buy merino hiking socks"), but informational keywords ("best socks for long hikes," "how to prevent blisters while hiking," "merino wool vs synthetic socks") have much higher search volume and attract potential customers early in their buying journey. Create blog posts that target these informational keywords and link naturally to your relevant product and category pages. A blog post answering "best socks for long hikes" with a link to your hiking socks category page sends both traffic and ranking signals to that category.
Submit your XML sitemap (yourdomain.com/sitemap_index.xml) to Google Search Console. Review the Index Coverage report for errors and warnings. Common WooCommerce technical SEO issues include: duplicate content from product variations (fix by setting variable product canonical URLs to the parent product), orphaned pages from deleted products returning 404 errors (fix with 301 redirects to the most relevant category page), paginated category pages creating duplicate content (your SEO plugin handles this with rel="next" and rel="prev" tags), attachment pages ranking instead of actual content (disable attachment page URLs in your SEO plugin settings), and the cart, checkout, and account pages appearing in search results (noindex these pages, as they should not rank).
Ongoing SEO Maintenance
SEO is not a one-time setup. Monitor Google Search Console weekly for new crawl errors, indexing issues, and keyword performance. Track your most important product and category page rankings monthly using a tool like Ahrefs, SEMrush, or even the free Google Search Console performance report. When you add new products, write unique descriptions and SEO metadata from day one. When you remove products, redirect the old URL to the most relevant remaining page instead of letting it 404.
For stores where organic search is a primary traffic channel, invest in the blog consistently. One well-researched, genuinely useful blog post per week builds topical authority faster than any other SEO tactic. See our general ecommerce SEO guide for strategies that apply across all platforms.
