
Yoast SEO for WordPress: How to Configure Meta Tags and Sitemaps
Yoast is configured in two places. Yoast SEO, then Settings, then Site features switches on the XML sitemap, and the Content types settings hold the title and description templates that fill in your meta tags. The free plugin covers both, so you only pay when you want the extra tools in Premium, which Yoast lists at £118.80 a year in the UK, excluding VAT. The sections below show where each setting lives, what it changes and how to fix it when it breaks.
What is Yoast SEO and what does it do for your site?
Yoast SEO, also searched for as "seo by yoast", is a WordPress plugin that controls how your pages appear in search results and gives search engines a map of your content. It handles two jobs that almost every site needs:
- Meta tags: the SEO title and meta description each page shows in results.
- XML sitemaps: the file that lists the URLs you want crawled.
Both are in the free plugin. The XML sitemap is also part of Premium, Yoast WooCommerce SEO and Yoast SEO AI+, so you never need to pay just to get one.
| Job | What it controls | Where you set it |
|---|---|---|
| SEO title | The blue headline in results | Content types settings, then per page |
| Meta description | The snippet under the headline | Content types settings, then per page |
| XML sitemap | The list of URLs for crawlers | Settings, then Site features |
Yoast also switches off the WordPress core sitemap when its own is active. You get one sitemap, not two competing ones, and nothing to disable by hand.
How do you enable and view the Yoast XML sitemap?
Yoast builds the sitemap automatically, but the feature has to be switched on:
- Go to Yoast SEO, then Settings, then Site features.
- Under Technical SEO, switch the XML sitemaps toggle on.
- Click View the XML sitemap to check that it loads.
Yoast builds one sitemap per content type, such as posts, pages and products, and lists them all in a sitemap index. Every sitemap response carries an x-robots-tag HTTP header with the value noindex, follow. That keeps the sitemap file itself out of search results, since a sitemap does not need to be indexed to be read, while search engines still follow the URLs it lists.
Two behaviours save you maintenance work:
- Automatic updates: the sitemap changes as you add or remove content, so there is no file to regenerate.
- Noindex exclusion: post types marked as noindex do not appear in the sitemap. If a content type should not rank, set it to noindex and it drops out of the sitemap too.
The index lives at /sitemap_index.xml by default. WordPress core uses /wp-sitemap.xml from version 5.5 onward, which is a different file, so make sure you are opening the right address.
How do you submit your Yoast sitemap to Google Search Console and Bing?
Submit one URL: the main index, /sitemap_index.xml on your domain. Search engines crawl that index and find the secondary sitemaps from it, so you do not submit each one separately.
In Google Search Console, open the Sitemaps report, paste sitemap_index.xml into the field and submit. Bing Webmaster Tools has an equivalent Sitemaps section. Yoast recommends adding the sitemap to these tools as soon as it is enabled. Check the report a few days later to confirm the URLs were read.
On a large site, the splitting rules matter:
| Rule | Figure |
|---|---|
| Items in one content type before Yoast adds extra sitemaps | More than 1,000 |
| URLs one sitemap can technically hold | Up to 50,000 |
| Sitemaps Yoast can generate for overflow | Up to 50,000 |
A single sitemap can hold 50,000 URLs, but Yoast splits them into smaller files to keep them fast. All the pieces are listed in the index, which is why the index is the only file you submit.
How do you set SEO title and meta description templates?
Templates are your defaults. In its settings, Yoast lets you set a title template and a meta description template for each content type. They use snippet variables that the plugin fills in for every post and page.
A commonly recommended title template is:
%%title%% %%sep%% %%sitename%%
It pulls the page title, your chosen separator and the site name. For the description, the template can use %%excerpt%%, which takes the post excerpt.
Yoast describes these templates as a back-up. If an editor forgets to write an SEO title or meta description for a page, the template still produces a usable search result instead of a blank or auto-trimmed snippet. A custom title or description entered on an individual post or page always overrides the global template, so you can set sensible defaults once and then write by hand only where a page deserves it.
A practical order of work:
- Set the title template for posts, pages and any custom post types.
- Set the description template for each type.
- Open your ten most important pages and write their titles and descriptions manually.
The slow part is not the setup. It is writing a good title and description for every page, which grows with each article you publish. Attela plans, researches and writes SEO articles and matching Instagram posts in your brand's voice, then publishes to WordPress once you approve. The content arrives ready for your Yoast fields instead of starting from a blank box.
Where do you edit the meta description for a single post or page?
Open the post or page in the editor and scroll to the Yoast SEO panel. Under the search appearance preview, edit the SEO title and meta description for that URL. Update the post afterwards, because the new text does not reach the page HTML until you save.
If the description still does not show up in the page source, there are three usual causes:
- The theme does not call
wp_head(). Yoast outputs its tags through that hook. - The field is empty and there is no default template behind it.
- The post was not updated after you added the description.
If a caching plugin is running, clear its cache after editing too, then view the page source and search for meta name="description".
Yoast free versus Premium: which do you need?
The free plugin includes the XML sitemap, the title and description templates and per-page editing described above. Premium adds extra tools, and Yoast publishes its own prices:
| Product | Yoast's published price | Notes |
|---|---|---|
| Yoast SEO Premium | £118.80 a year in the UK (€118.80 and $118.80 elsewhere) | Excluding VAT |
| Yoast SEO AI+ | €358.8 a year (same figure in USD and GBP) | Includes the XML sitemap |
Premium is licensed per website. If you manage several brands, you need one licence per site, so multiply the price by the number of sites before you upgrade. Prices change, so check Yoast's own pages for the current figure.
What to do when the sitemap returns a 404 or looks stale
Work through the likeliest causes in order:
- Wrong address: Yoast's index lives at
/sitemap_index.xml, not at the core/wp-sitemap.xmlpath. - Feature switched off: confirm the XML sitemaps toggle under Site features is on.
- Old URLs showing: a caching plugin or CDN is probably serving a stored copy. Purge the cache and reload the sitemap.
- Pages missing: check that the content type is not set to noindex and that the pages are published rather than in draft.
If you run a second sitemap plugin, keep only one active, as two generators can conflict.
How does Yoast compare with other SEO plugins and WordPress core sitemaps?
WordPress core has produced a basic sitemap at /wp-sitemap.xml since version 5.5. Yoast replaces it with its own, and adds per-content-type control, noindex exclusion and template-based meta tags. That is why many sites install it even though core already ships a sitemap. Other SEO plugins offer similar sitemap and meta features, so the choice usually comes down to the interface and which paid features you need. Whichever plugin you use, run one sitemap, submit the index and review the tags on your key pages once a month.
Conclusion
Yoast SEO gives you the two controls that matter most: meta tags that describe each page, and a sitemap that lists the right URLs. Enable the sitemap, submit sitemap_index.xml to Google Search Console and Bing, set your templates per content type and override them where a page needs its own title. The free plugin covers all of it, so upgrade to Premium only for its extra tools.
FAQ
Is Yoast SEO free to use?
Yes, the core plugin is free and includes the XML sitemap and the title and description templates. Yoast SEO Premium is a paid upgrade, listed at £118.80 a year in the UK on Yoast's own price page, excluding VAT.
Where is the Yoast sitemap located?
By default the main index is at /sitemap_index.xml on your domain. Go to Yoast SEO, then Settings, then Site features, and click View the XML sitemap to open it.
Should I submit each Yoast sitemap separately to Google?
No. Submit only the main sitemap_index.xml URL. Search engines crawl it and find the secondary sitemaps on their own.
Why isn't my meta description showing in the page HTML?
The usual causes are a theme that does not call wp_head(), an empty description with no template behind it, or a post that was not updated after you added the description. Check each one, then clear your cache.
Does Yoast replace the WordPress sitemap?
Yes. When Yoast's sitemap is active, it disables the WordPress core sitemap automatically, so only one sitemap runs on your site.
Can I exclude content from the Yoast sitemap?
Yes. Post types marked as noindex do not appear in the sitemap, and the file updates itself as content changes. Set the content type or page to noindex in its Yoast settings.
What if my Yoast sitemap returns a 404 error?
First check that the XML sitemaps toggle is on and that you are opening /sitemap_index.xml, not the core /wp-sitemap.xml address. Then purge any caching plugin or CDN and reload.
Do I need Premium if I manage several websites?
Premium is licensed per website, so you need one licence for each site you run it on. Compare the total cost with how many Premium features you will actually use before you buy.
Once your sitemap and templates are in place, the next job is filling them with articles that deserve to rank. Start a 7-day free trial of Attela and see how a month of articles and Instagram posts arrives in your WordPress drafts.
Attela