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
-
What is the best meta description for Category Pages, Tag Pages and Main Article?
Hi, I want to index all my categories and tags. But I fear about duplicating the meta description. for example: I have a tag name "Learn Stock Market", a category name "Learning", and a main article "What is Stock Market". What is your suggestion for meta description of these three pages that looks great for seo google?
On-Page Optimization | | mbmozmb0 -
How to generate an automatic title and meta description for lots of pages
Hi, I'm working on a big website that will have new pages every month. I would like to find a plug-in or something free to generate automatic title and meta description for futur new pages. Thanks you for your help!
On-Page Optimization | | Maely0 -
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 -
Duplicate Content with ?Page ID's in WordPress
Hi there, I'm trying to figure out the best way to solve a duplicate content problem that I have due to Page ID's that WordPress automatically assigns to pages. I know that in order for me to resolve this I have to use canonical urls but the problem for me is I can't figure out the URL structure. Moz is showing me thousands of duplicate content errors that are mostly related to Page IDs For example, this is how a page's url should look like on my site Moz is telling me there are 50 duplicate content errors for this page. The page ID for this page is 82 so the duplicate content errors appear as follows and so on. For 47 more pages. The problem repeats itself with other pages as well. My permalinks are set to "Post Name" so I know that's not an issue. What can I do to resolve this? How can I use canonical URLs to solve this problem. Any help will be greatly appreciated.
On-Page Optimization | | SpaMedica0 -
How to overcome blog page 1, 2, 3, etc having no or duplicate meta info?
As the above what is the best way to overcome having the same meta info on your blog pages (not blog posts) So if you have 25 blog posts per page once you exceed this number you then move onto a second blog page, then when you get to 50 you then move onto a 3rd blog page etc etc So if you have thousands f blog pages what is the best method to deal with this rather than having to write 100s of different meta titkes & descriptions? Cheers
On-Page Optimization | | webguru20141 -
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 -
Duplicate Content when Using "visibility classes" in responsive design layouts? - a SEO-Problem?
I have text in the right column of my responsive layout which will show up below the the principal content on small devices. To do this I use visibility classes for DIVs. So I have a DIV with with a unique style text that is visible only on large screen sizes. I copied the same text into another div which shows only up only on small devices while the other div will be hidden in this moment. Technically I have the same text twice on my page. So this might be duplicate content detected as SPAM? I'm concerned because hidden text on page via expand-collapsable textblocks will be read by bots and in my case they will detect it twice?Does anybody have experiences on this issue?bestHolger
On-Page Optimization | | inlinear0 -
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