Missing Meta Tags - "thousands" using WooCommerce?
-
Recently took a site live for a client using WP/WooCommerce to replace their antiquated shopping cart site and have encountered thousands of "Missing Meta Description Tag" errors.
Have researched and tried a couple different approaches, but nothing really seems to fix this problem.
I'm happy to continue to research, but have never encountered this problem before. Anyone else encountered similar? If so, how did you fix? Which resources to start with?
-
Assuming your products have text descriptions already, and you'd like to programatically include those descriptions in the meta description tag, here is my normal solution using the Yoast SEO plugin:
- Navigate to Admin > SEO > Titles & Metas
- Switch to "Post Type" tab
- Scroll down to find "Products" and then "Meta description template" under "Products"
- Fill in the text area for "Meta description template with "%%excerpt%%"
- Save Settings
This will pull the excerpt of the product description and use it as the meta description on every product.
Alternately, you can over-ride the programatic description by editing individual products and setting a custom description.
-
THANK YOU! I was in the neighborhood and tried to do just that...but turns out there was a bug in Yoast's WP SEO Plugin that hid the "Save Settings" button at the bottom of the Post Types page! (see screeshot) I was about ready to get my head checked! Haha
Updated the plugin and then the Products meta with %%excerpt%% and now the problem is solved. Thanks again!
Clay