What are variables?
Optimizing the SEO title and meta description of every single one of your posts or pages is a lot of work. The Yoast SEO plugin makes these processes easier for you! In Yoast SEO, you can use variables to set templates for your SEO titles and meta descriptions. After setting a template, the plugin will generate an SEO title and a meta description following that template for each of your posts and pages!
Set templates to make optimizing easier!
- Effortlesly generate SEO titles and meta descriptions
- Easily edit large batches of SEO elements
- Use more than 50 available variables
Serious about SEO? Get Yoast SEO Premium!
This feature is available for free. But, if you are serious about your site Yoast SEO Premium can help you make your job a lot easier.
How can Yoast variables help you?
A variable is a name or a symbol that stands for a value. For example, Yoast SEO uses the variable sitename
to get the site name from the site itself. In this way, you don’t have to type in this information by hand.
Easily generate SEO titles and meta descriptions
With Yoast SEO, you can use these variables to set templates for your SEO titles and meta descriptions. After you’ve come up with a template, the plugin will generate and optimize all of your SEO titles and meta descriptions.
Setting a template in Yoast SEO
So, how do you set a template for your SEO titles and meta descriptions? You go to the settings of Yoast SEO and find ‘Content Types’. There, you can change the template for all of the content types you have on your site, like posts, pages, and taxonomies.
You can change the templates to whatever you feel fits your goal. You can check this article for a step-by-step explanation of how to modify default snippet templates in Yoast SEO.
For posts on yoast.com, this template leads to SEO titles like this:
Easily edit large batches of SEO elements
This also means you can easily change large batches of SEO elements. If you would change your site’s name, you would normally have to change your SEO titles to reflect your new name manually. But if you use Yoast SEO’s variable sitename
in your SEO title template, the variable will get the new name, and you won’t have to edit every single one of your SEO titles manually. This saves you a lot of time!
Use variables to edit the metadata of a single post
If you want, you can also use variables to edit the SEO title and meta description in the Google preview in Yoast SEO. Just click ‘Google preview’ in the Yoast SEO sidebar while editing your post, and you’ll find the SEO title and meta description according to the variables you’ve chosen. Here, you’ll get the option to override that metadata with a custom-made variant if you think that will attract more clicks in the search results.
Use more than 50 available variables
Yoast SEO supports a wide range of variables and they can be used for almost any situation. There are even variables for use with WooCommerce, so you can extract product information from your store to use in the metadata.
Also available in Yoast SEO for Shopify
This feature is also available in Yoast SEO for Shopify. Read more on this feature and how it is adapted for use in online stores.
Serious about SEO? Get Yoast SEO Premium!
This feature is available for free. But, if you are serious about your site Yoast SEO Premium can help you make your job a lot easier. Here’s just a sample of what you’ll find in Yoast SEO Premium: a redirect manager, internal linking tool and internal linking blocks, advanced SEO analysis, and unlimited access to all the Yoast SEO Academy courses!
Let Yoast SEO help you win the search rankings
Discover all the features of the Yoast SEO for WordPress plugin.