WooCommerce: How to change Shop Page SEO Meta Title (“Products Archive”)

Just say thanks to YOAST SEO plugin, that’s all you need to know. No PHP, no editing template files… just a simple setting in YOAST SEO for WordPress. That’s it πŸ™‚

1. Go to SEO / Title & Metas / Post Types and scroll to the bottom of the page

WooCommerce, how to change the Shop page meta title
WooCommerce, how to change the Shop page meta title

2. In the “Custom Post Type Archives / Products”, edit the title and meta description

I love simple fixes πŸ™‚

Where to add this snippet?

You can place PHP snippets at the bottom of your child theme functions.php file (delete "?>" if you have it there). CSS, on the other hand, goes in your child theme style.css file. Make sure you know what you are doing when editing such files - if you need more guidance, please take a look at my free video tutorial "Where to Place WooCommerce Customization?"

Does this snippet (still) work?

Please let me know in the comments if everything worked as expected. I would be happy to revise the snippet if you report otherwise (please provide screenshots). I have tested this code with Storefront theme, the WooCommerce version listed above and a WordPress-friendly hosting on PHP 7.3.

If you think this code saved you time & money, feel free to join 14,000+ WooCommerce Weekly subscribers for blog post updates or 250+ Business Bloomer supporters for 365 days of WooCommerce benefits. Thank you in advance :)

Need Help with WooCommerce?

Check out these free video tutorials. You can learn how to customize WooCommerce without unnecessary plugins, how to properly configure the WooCommerce plugin settings and even how to master WooCommerce troubleshooting in case of a bug!

Rodolfo Melogli

Business Bloomer Founder

Author, WooCommerce expert and WordCamp speaker, Rodolfo has worked as an independent WooCommerce freelancer since 2011. His goal is to help entrepreneurs and developers overcome their WooCommerce nightmares. Rodolfo loves travelling, chasing tennis & soccer balls and, of course, wood fired oven pizza.

26 thoughts on “WooCommerce: How to change Shop Page SEO Meta Title (“Products Archive”)

  1. I have one issue I would like to change:

    On the main shop page it is showing the title as β€œProducts” and the original page title that is set in the Pages section has been pushed down into the body of the page.

    I would like Products to go away and be replaced by the title that is set. It’s strange, because Products is not listed anywhere on the settings. I feel like it’s buried in Woocommerce somewhere and I don’t know how to turn it off.

    1. Doesn’t sound like default WooCommerce behavior. Try temporarily switching off theme and plugins and see if it’s one of them that creates that?

  2. Hi! Do you think that in the product listing (product archive), the product names should be under the heading (h2-h3)? Is it good idea?

    1. Hello Crear! This should be a question for an SEO expert, I don’t think my opinion can qualify as such to be honest. However, if I had to choose, I’d go with H2, so that the shop page has its own H1 and then products are grouped together

  3. For sites using the Thesis Framework, Yoast is not a solution. Installing it would disable all the titles and descriptions added in Thesis. A programmatic solution is what I’m looking for. Found many online, but none work.

    1. Not sure Michael πŸ™‚

  4. Hi Rodolfo, thanks for the great tutorials. OK for the title and the description of the WooCommerce Shop Page, but how to change the og:image for Facebook? It seems that neither the picture set in the Yoast SEO field, neither the featured image, are scraped by Facebook

    1. Terence, thanks so much for your comment! Uhm, I see, this might be a question you’d want to ask Yoast and WooCommerce support teams, they should be able to help!

    2. All OK, they solved it in the new release of Yoast 6.0.0!

  5. Hi, I am really pulling my hair out here for the life of me I do not know why on the shop page the main page title is the product name I really can’t suss it out do you have any thoughts on this. I have tried everything.

    1. Hey Steve, thanks for your comment! Go to WP Dashboard > WooCommerce > System Status: what errors do you see in red font?

      Also, take a look at this tutorial to see how to troubleshoot: https://businessbloomer.com/woocommerce-troubleshooting-mistakes-to-avoid/

      Hope this helps!

      R

  6. ok, but if i want to change pt_plural label for the products?

    1. Mark, thanks for your comment! I’m not fully sure what you mean there πŸ™‚

  7. But how to add on a specific page only?

    1. Hey Hafis, thanks for your comment! Do you mean to add it on a specific category?

  8. Very good. Thank you for helper. This tips very good.
    Thank Rodolfo Melogli

    1. Thank you Hollie! πŸ™‚

  9. Thanks for your help. This worked well for the title and description, but for the life of me, I can’t get the image to change. I changed the featured image on the page, but no luck. Any suggestion? Thanks

    1. Hey Andres, thanks for your comment! The image is not something that is default with WooCommerce, so it must be your theme that is adding that image. Can you double check?

  10. Hi! This worked. Keep it up. I like your tips!

    1. Great Jake, thanks for your feedback!

  11. I tried this solution and it did indeed change the title of the shop page from “archives” to “shop”, but it resulted in an error on everything linking out of that page, which now brings up the “oops, we cannot find that page” error whenever I click on any product or category from within the shop πŸ™

    1. Govinda, thanks for your feedback. This is really weird, this is only changing the SEO title of the page, not the actual URL or its links. Is this still happening on your website?

      1. I changed the shop to my static front page as a temporary workaround (no page title at all on home page :D)

        I’ll check the fix again when I’ve done the rest of the site, and get back to you when I know.

        1. Ok cool. I don;t hink you’re allowed to have the Woocommerce shop page as front page by the way πŸ™‚

Questions? Feedback? Support? Leave your Comment Now!
_____

If you are writing code, please wrap it between shortcodes: [php]code_here[/php]. Failure to complying with this (as well as going off topic, not writing in English, etc.) will result in comment deletion. You should expect a reply in about 2 weeks - this is a popular blog but I need to get paid work done first. Please consider joining BloomerArmada to get blog comment reply priority, ask me 1-to-1 WooCommerce questions and enjoy many more perks. Thank you :)

Your email address will not be published.