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
-
Is it better to keep a glossary or terms on one page or break it up into multiple pages?
We have a very large glossary of over 1000 industry terms on our site with links to reference material, embedded video, etc. Is it better for SEO purposes to keep this on one page or should we break it up into multiple pages, a different page for each letter for example? Thanks.
On-Page Optimization | | KenW0 -
Solve duplicate content issues by using robots.txt
Hi, I have a primary website and beside that I also have some secondary websites with have same contents with primary website. This lead to duplicate content errors. Because of having many URL duplicate contents, so I want to use the robots.txt file to prevent google index the secondary websites to fix the duplicate content issue. Is it ok? Thank for any help!
On-Page Optimization | | JohnHuynh0 -
Can I use the same text in my meta description as I put in my post excerpt?
Hi, I'm just trying to understand the right way to optimise my blog posts and this is likely a dumb question... but to what extent should the text in my meta description differ from the text in my post excerpts? cheers, Andrew
On-Page Optimization | | seowhiskey0 -
Do I need a Meta description for every page?
HI Guys, We have just developed a new website and I'm looking to add meta descriptions with relevant key words to the pages . As the site has over 80 pages it is quite an undertaking and i was wandering if pages, such as the shopping cart and FAQ's etc, need meta descriptions as well? Thanks in advance : ) Pete
On-Page Optimization | | dawsonski0 -
301 redirects from several sub-pages to one sub-page
Hi! I have 14 sub-pages i deleted earlier today. But ofcourse Google can still find them, and gives everyone that gives them a go a 404 error. I have come to the understading that this wil hurt the rest of my site, at least as long as Google have them indexed. These sub-pages lies in 3 different folders, and i want to redirect them to a sub-page in a folder number 4. I have already an htaccess file, but i just simply cant get it to work! It is the same file as i use for redirecting trafic from mydomain.no to www.mydomain.no, and i have tried every kind of variation i can think of with the sub-pages. Has anyone perhaps had the same problem before, or for any other reason has the solution, and can help me with how to compose the htaccess file? 🙂 You have to excuse me if i'm using the wrong terms, missing something i should have seen under water while wearing a blindfold, or i am misspelling anything. I am neither very experienced with anything surrounding seo or anything else that has with internet to do, nor am i from an englishspeaking country. Hope someone here can light up my path 🙂 Thats at least something you can say in norwegian...
On-Page Optimization | | MarieA1 -
Creating New Pages Versus Improving Existing Pages
What are some things to consider or things to evaluate when deciding whether you should focus resources on creating new pages (to cover more related topics) versus improving existing pages (adding more useful information, etc.)?
On-Page Optimization | | SparkplugDigital0 -
Would it be bad to change the canonical URL to the most recent page that has duplicate content, or should we just 301 redirect to the new page?
Is it bad to change the canonical URL in the tag, meaning does it lose it's stats? If we add a new page that may have duplicate content, but we want that page to be indexed over the older pages, should we just change the canonical page or redirect from the original canonical page? Thanks so much! -Amy
On-Page Optimization | | MeghanPrudencio0 -
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