How to Set Up Yoast SEO for WordPress
Configure Yoast properly in about twenty minutes. Which settings matter, which to ignore, and why chasing the green light makes your writing worse.
Yoast SEO does not make your site rank. What it does is stop you making technical mistakes, and give you one place to control how each page looks in search results.
That is genuinely useful, and it takes about twenty minutes to set up properly. This guide covers what to configure, what to skip, and one habit to avoid.
Before you install it
Only ever run one SEO plugin. Yoast, RankMath and All in One SEO all write the same meta tags. Two of them active at once produces duplicate tags, which is worse than having none.
Already have another one? Export its settings, deactivate and delete it, then install Yoast. Deactivating alone is not enough — some leave their output in place.
Step 1: Install and run the wizard
Plugins → Add New, search Yoast SEO, install and activate. A first-time configuration wizard starts on its own. Work through it honestly.
Site representation
Choose Organization for a business or brand, or Person for a personal blog. This feeds the schema markup that search engines read, so pick the one that is actually true.
Upload a logo while you are there — at least 112×112 pixels, square.
Social profiles
Add your real profile URLs. These become sameAs entries in the schema, which helps search engines connect your site to your accounts. Skip any you do not actually use — an empty or abandoned profile helps nobody.
Step 2: Search appearance — the settings that matter
Go to Yoast SEO → Settings. This is where the real work is.
Content types
For Posts and Pages, leave "Show in search results" on.
Set the title template. The default is usually fine:
%%title%% %%page%% %%sep%% %%sitename%%
That produces "How to Install SSL — Your Site Name".
Media — the one everyone gets wrong
Find Media → Attachment URLs and make sure redirects are enabled.
WordPress creates a separate page for every uploaded image. Those pages have no content, and left indexed they bury your real pages under hundreds of empty ones. Yoast redirects them to the post the image belongs to. Check this setting even if you change nothing else.
Taxonomies
- Categories — keep indexed. They are useful landing pages.
- Tags — set to noindex unless you use them deliberately. Most sites have dozens of tags with one post each, and those are thin pages.
- Format archives — noindex.
Archives
- Author archives — if you are the only author, disable them. They duplicate your blog page exactly.
- Date archives — disable. Nobody browses a site by month.
Step 3: The sitemap
Yoast generates one automatically at yourdomain.com/sitemap_index.xml. Open it and confirm it loads.
Then submit it in Google Search Console under Sitemaps. Do this once; it stays current on its own afterwards.
If the sitemap 404s, go to Settings → Permalinks and press Save without changing anything. That rewrites the rules and fixes it almost every time.
Step 4: Connect Search Console
Yoast can verify your site for you. In Yoast SEO → Settings → Site connections, paste the verification code Google gives you.
If you would rather not, verify by DNS record instead — that survives changing plugins or themes later, which the meta tag method does not.
Step 5: Writing a page with Yoast
Under every post you now get a Yoast panel. Three fields matter.
SEO title
Aim for 50–60 characters. Put the important words first, because Google truncates the end. Write it for a human deciding whether to click.
Meta description
Around 150–160 characters. It is not a ranking factor, but it decides whether people click, which matters a great deal. Say what the reader gets.
Leave it empty and Google writes its own from your page — sometimes better than yours, usually worse. Write it.
Focus keyphrase
One phrase per page. Yoast then checks whether you used it in the title, URL, first paragraph and a subheading.
The green light trap
This is the most important part of the page.
Yoast's traffic light is not a ranking score. It is a checklist of surface features. Google has never seen it and does not care about it.
Chasing green produces the writing you have seen a hundred times:
"Looking for how to install SSL certificate? This how to install SSL certificate guide covers how to install SSL certificate on any server. How to install SSL certificate is easier than you think."
That passes several Yoast checks and reads terribly, and Google is now well able to detect exactly this pattern.
Which checks to take seriously
| Check | Worth it? |
|---|---|
| Keyphrase in title | Yes |
| Keyphrase in URL | Yes |
| Keyphrase in first paragraph | Yes, naturally |
| Meta description length | Yes |
| Internal links present | Yes — genuinely useful |
| Images have alt text | Yes, for accessibility too |
| Keyphrase density | Ignore |
| Keyphrase in every subheading | Ignore |
| Sentence length | Use judgement |
| Passive voice percentage | Use judgement |
| Transition words | Ignore |
An orange light on a well-written page is completely fine. Publish it.
What Yoast does not do
Worth being clear, because the name implies more than it delivers:
- It does not make your site faster. See how to increase WordPress speed.
- It does not get you backlinks.
- It does not write or improve your content.
- It does not guarantee indexing. If your site is not appearing at all, check Settings → Reading for the "Discourage search engines" box.
It handles the plumbing. The ranking work is in how to increase your website ranking.
Free or premium?
The free version covers everything above. Premium adds internal link suggestions, multiple keyphrases per page, redirect management and the removal of upsell notices.
The redirect manager is the only part most people genuinely miss, and a free redirect plugin does the same job. Start free.
Common problems
The sitemap returns 404
Go to Settings → Permalinks and press Save. If it persists, another plugin is also generating a sitemap — disable one of them.
My meta description is not showing in Google
Google rewrites descriptions when it thinks its own version fits the query better. This is normal and not a fault. You cannot force it.
Yoast says my page is noindex but I did not set that
Check three places: the per-post Yoast Advanced tab, the content type settings, and Settings → Reading in WordPress itself.
Duplicate meta tags in the page source
A second SEO plugin is still active, or your theme has its own SEO options. Turn off one of them.
Everything went orange after an update
Yoast adjusts its checks between versions. Nothing about your page changed. Ignore it.
Yoast, RankMath or All in One SEO?
| Plugin | Suits |
|---|---|
| Yoast | Beginners. The most documentation and the most tutorials. |
| RankMath | More free features, including schema types and redirects. |
| All in One SEO | A simpler interface with fewer prompts. See the setup guide. |
All three do the same essential job. The one you configure properly is the best one, and switching between them rarely changes anything.
Where to go next
- How to increase your website ranking — the work that actually moves rankings
- All in One SEO setup — the alternative
- Speed up WordPress — Core Web Vitals