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
-
Shifting target keyword to a new page, how do we rank the internal page?
I have been targeting one keyword for home page that was ranking between the postilion 6-7 but was never ranking on 1st as there were 2 highly competitive keywords targeted on the same page, I changed the keyword to an internal service page to rank it on 1st, I have optimized the content as well but the home page is still ranking on 11th, how do I get the internal page rank on that keyword
On-Page Optimization | | GOMO-Gabriel0 -
Can you use the canonical tag and rel=next and rel=prev on category pages.
We have a conflict of information between our web developers and our SEO company. We are an on-line retail company hence we have a fair number of different categories. Our site is set up with the rel=next and rel=prev tags. Our SEO company have asked us to implement canonical links on our category pages and leave the rel=next and rel=prev tags as they are. Our web developers are saying by doing this we are asking Google to ignore all of our products on all of the pages except page 1 which would mean Google would not index a lot of our products. I have looked at a few articles but I am struggling to understand which way to go. Any advice would be appreciated. Thank you in advance.
On-Page Optimization | | Palmbourne0 -
Page Title & Meta Description Getting Cut Off In The SERPs
Hi Guys, I am trying to figure out why my page titles and meta d tags are getting cut off in Goofle SERPS. My page titles are 70 characters or under (including spaces) and my meta Dd's are 155 characters or under (including spaces) so I cannot work out why They are getting cut off. Is there something I have missed?! Thanks, Meaghan
On-Page Optimization | | StoryScout0 -
My Meta Description changes when i use different keyword in google search.
Hello everyone, I have a question for the community. I have a website with several articles and news that i manage. I set specific meta descriptions for every page but when i search in google it gives me back different meta descriptions depending on the keyword that i use to search. What i notice is that google looks in my page for the most relevant part of the text that combines with my keyword and gives me back that result. I thought that this only happen when i have an empty meta description. Anyone felt the same ? Best Ricardo www.meuportalfinanceiro.pt
On-Page Optimization | | Adclick0 -
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 -
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 -
What is on page links?
Hi - i would like to know exactly what an on page link is? i understand the linking system however cant work what exactly what an on page link is? Thanks
On-Page Optimization | | OasisLandDevelopment0 -
Is it ok to use encoded special characters in meta titles?
I've read blog posts stating that encoding special characters in title tags is both ok and not ok. Any definitive answer out there? Do the extra characters from adding encoding count towards the total number of characters that Google displays in SERPs? Or do they just count as one character?
On-Page Optimization | | BostonWright0