Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Does using Yoast variables for meta content overwrite any pages that already have custom meta content?
-
The question is about the Yoast plugin for WP sites. Let's say I have a site with 200 pages and custom meta descriptions / title tags already in place for the top 30 pages. If I use the Yoast variable tool to complete meta content for the remaining pages (and make my Moz issue tracker look happier), will that only affect the pages without custom meta descriptions or will it overwrite even the pages with the custom meta content that I want?
In this situation, I do want to keep the meta content that is already in place on select pages.
Thanks!
Zack
-
Amazing. Thanks so much, Nigel. Very helpful!
-
Hi Zack
With Yoast and Woo the shortcodes are difficult to find as they are specific to Woo. The product description one I used for my client was:
Shop %%title%% %%page%% %%sep%% part of the %%currentyear%% %%ct_product_cat%% collection, with free delivery on all items at Sitename!
This would give for example:
Shop 'Yello Widget', part of the '2018' 'widget category' collection with free delivery on all items at 'sitename'
Then title:
%%title%% %%page%% %%sep%% %%ct_product_cat%% Sitename
For the non Ecomm pages I would actually write them myself as there would only be a few but if I was pushed:
%%page%% %%sep%% Sitename
The problem here is that it might be too short.
I hope that helps
Regards Nigel
-
Thank you Sean. This didn't exactly answer my question (Nigel did below!), but this is still great information and useful context.
Much appreciated.
-
This is great. Thank you Nigel. This answers my question perfectly. The client I'm thinking of also has a Woo store and has a very similar situation.
Bonus question Do you have a favorite variable you use for meta descriptions for ECommerce pages and non EComm pages?
-
Hi Zack
If you add default variables for post Meta title and description this will effectively add Meta for all those posts and pages where you didn't. If you added any custom Meta then that will stay the same.
I had a client who had 467 products in his Woo store without Meta descriptions - a little magic and boom! they all had one. Those that were custom written stayed the same.
Simple process with a simple yes/no answer!
I hope that helps!
Regards Nigel.
-
I had to make several hundred pages for a video tube at one point. And what I did to expedite the process is use the clone post/page plugin. Then I created a clone with 3 things.
The first thing was the templating for the meta description and title for each video**(naturally I did that with Yoast)**. The second thing I did was create a short code with php to place the page title in several areas using simply [template]. Then for the final automation aspect, I appeased the alt tag necessity with a js script to dynamically add alt tags with the page title on all images.
I don't know what the outcome of the said feature your describing is, however the way you would accomplish your desired end result is by adding a bunch of generic meta title/descriptions with the bulk editor feature of yoast. Naturally skup over the 30 pages, you'll simply need to make a template one time then copy it to clipboard and paste paste paste like a madman! Wont even 5 minutes with 200 pages.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Should I redirect or add content, to 47 Pages?
We have an insurance agency website with 47 pages that have duplicate/low content warnings. What's the best way to handle this? I'm I right in thinking I have 2 options? Either add new content or redirect the page? Thanks in advance 🙂
On-Page Optimization | | laurentjb1 -
Duplicate 'meta title' issue (AMP & NON-AMP Pages)
how to fix duplicate meta title issue in amp and non-amp pages? example.com
On-Page Optimization | | 21centuryweb
example.com/amp We have set the 'meta title' in desktop version & we don't want to change the title for AMP page as we have more than 10K pages on the website. ----As per SEMRUSH Tool---- ABOUT THIS ISSUE It is a bad idea to duplicate your title tag content in your first-level header. If your page’s <title>and <h1> tags match, the latter may appear over-optimized to search engines. Also, using the same content in titles and headers means a lost opportunity to incorporate other relevant keywords for your page.</p> <p><strong>HOW TO FIX IT</strong></p> <p>Try to create different content for your <title> and <h1> tags.<br /><br />this is what they are recommending, for the above issue we have asked our team to create unique meta and post title for desktop version but what about AMP page?<br /><br />Please help!</p></title>0 -
How do you add meta data to dynamic pages?
We have 1000's of dynamic pages on the website and would like to know how to add meta data to these dynamically generated pages. Thanks!
On-Page Optimization | | REIT0 -
No meta description on category page
Hi Moz is reporting no meta description on a wordpress category page like this one: http://www.dwliverpoolphotography.co.uk/category/uncategorized/ Can I add a meta description to a category? Best wishes. David.
On-Page Optimization | | WallerD0 -
The page is missing meta language information.
Hi, I saw my website have a problem about meta language, I do some search and found that I need to add on the , with 'll' is language code and 'cc' is country code. But I am confused what should I do, because my website is world wide, not launch at specific any language and country. Please give me an advice in this case. Thanks,
On-Page Optimization | | JohnHuynh0 -
Meta separators
I've been told that pipes are the best separators for title tags. Can anyone tell me the best ones for H1 and H2 tags? Do I go with pipes, commas, hyphens, underscores...?
On-Page Optimization | | Greatmats0 -
Do we need to use the canonical tag on non-indexed pages?
Hi there I have been working in / learning SEO for just over a year, coming from a non dev background, so there are still plenty of the finer points on-page points I am working on. Slowly building up confidence and knowledge with the great SEOMoz as a reference! We are working on this site http://www.preciseuk.co.uk (we are still tweaking the tags and content by the way- not finished yet!) Because a lot of the information is within accordians, a page is generated for each tab of the accordian expanded, for example: http://www.preciseuk.co.uk/facilities-management.php is the main page but then you also have: http://www.preciseuk.co.uk/facilities-management.php?tab=0 http://www.preciseuk.co.uk/facilities-management.php?tab=1 http://www.preciseuk.co.uk/facilities-management.php?tab=2 http://www.preciseuk.co.uk/facilities-management.php?tab=3 http://www.preciseuk.co.uk/facilities-management.php?tab=4 http://www.preciseuk.co.uk/facilities-management.php?tab=5 All of which are in the same file. According to the crawl test, these pages are not indexed. Because it is all in one file, should we add the canonical tag to it, so that this is replicated in all the tab pages that are generated? eg. Thanks in advance for your help! Liz OneResult
On-Page Optimization | | oneresult
liz@oneresult.co.uk2 -
Avoiding "Duplicate Page Title" and "Duplicate Page Content" - Best Practices?
We have a website with a searchable database of recipes. You can search the database using an online form with dropdown options for: Course (starter, main, salad, etc)
On-Page Optimization | | smaavie
Cooking Method (fry, bake, boil, steam, etc)
Preparation Time (Under 30 min, 30min to 1 hour, Over 1 hour) Here are some examples of how URLs may look when searching for a recipe: find-a-recipe.php?course=starter
find-a-recipe.php?course=main&preperation-time=30min+to+1+hour
find-a-recipe.php?cooking-method=fry&preperation-time=over+1+hour There is also pagination of search results, so the URL could also have the variable "start", e.g. find-a-recipe.php?course=salad&start=30 There can be any combination of these variables, meaning there are hundreds of possible search results URL variations. This all works well on the site, however it gives multiple "Duplicate Page Title" and "Duplicate Page Content" errors when crawled by SEOmoz. I've seached online and found several possible solutions for this, such as: Setting canonical tag Adding these URL variables to Google Webmasters to tell Google to ignore them Change the Title tag in the head dynamically based on what URL variables are present However I am not sure which of these would be best. As far as I can tell the canonical tag should be used when you have the same page available at two seperate URLs, but this isn't the case here as the search results are always different. Adding these URL variables to Google webmasters won't fix the problem in other search engines, and will presumably continue to get these errors in our SEOmoz crawl reports. Changing the title tag each time can lead to very long title tags, and it doesn't address the problem of duplicate page content. I had hoped there would be a standard solution for problems like this, as I imagine others will have come across this before, but I cannot find the ideal solution. Any help would be much appreciated. Kind Regards5