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.
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!
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”)”
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.
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?
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?
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
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.
Not sure Michael 🙂
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
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!
All OK, they solved it in the new release of Yoast 6.0.0!
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.
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!
ok, but if i want to change pt_plural label for the products?
Mark, thanks for your comment! I’m not fully sure what you mean there 🙂
But how to add on a specific page only?
Hey Hafis, thanks for your comment! Do you mean to add it on a specific category?
Very good. Thank you for helper. This tips very good.
Thank Rodolfo Melogli
Thank you Hollie! 🙂
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
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?
Hi! This worked. Keep it up. I like your tips!
Great Jake, thanks for your feedback!
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 🙁
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?
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.
Ok cool. I don;t hink you’re allowed to have the Woocommerce shop page as front page by the way 🙂