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
-
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 -
Should I optimize my home-page or a sub-page for my most important keyword
Quick question: When choosing the most important keyword set that I would like to rank for, would I be better off optimizing my homepage, or a sub page for this keyword. My thinking goes as follows: The homepage (IE www.mysite.com) naturally has more backlinks and thus a better Google Page Rank. However, there are certain things I could do to a subpage (IE www.mysite.com/green-widgets-los-angeles ) that I wouldn't want to do to the homepage, which might be more "optimal" overall. Option C, I suppose, would be to optimize both the homepage, and a single sub-page, which is seeming like a pretty good solution, but I have been told that having multiple pages optimized for the same keywords might "confuse" search engines. Would love any insight on this!
On-Page Optimization | | Jacob_A2 -
Why is Google replacing my meta title with the business name on home page?
For all queries that return the home page, Google is not showing my meta title. Instead it replaced it with the official business name which of course makes it harder to rank for key terms since they don't exist now in the meta title. You can see this is you search on "mt view estate planning attorney". The site in question is dureelaw.com and the title showing is "The Law Office of Daniel L. DuRee." View the source and you'll see my meta title. Why is Google substituting it?
On-Page Optimization | | katandmouse0 -
Why is my contact us page ranking higher than my home page?
Hello, It doesn't matter what keyword I put into Google (when I'm not signed in and have cleaned down my browsing history) the contact us page ranks higher than the home page. I'm not sure why this is, the home page has a higher page authority, more links and more social media shares, the website is an established one. When I have checked Google Analytics my home page gets more people landing on it than the contact us page. It looks like people are ignoring the contact us page and scrolling down until they find the home page. I'd appreciate any help or advice you might have. Thank you.
On-Page Optimization | | mblsolutions2 -
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 -
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 -
Can I use Same Keyword for Multi pages Title Tags?
Hello All, I am working on client website and currently they are targeting One Keywords for multi pages. As I have search with Allintitle: Search query and Google display around 37 pages of website which carry same keyword in "Title Tags". I have told to client to change the "Title Tags" but they want that keyword for all relevant pages. So I want to know is that harm in Search Engine Ranking? Note: They have not done the link building activities for multi pages with same Keyword, they are using only in "Title Tags" only
On-Page Optimization | | jemindesai0 -
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