WordPress SEO optimization: a step-by-step guide

WordPress SEO optimization isn't one big task. It's a sequence: get the site settings right, choose an SEO plugin, make the site fast, then work through your content page by page and keep it fresh. Done in that order, each step builds on the last, and you don't waste time polishing meta descriptions on a site search engines can't crawl.
This guide is the tutorial version. It explains each stage, why it matters and how to do it in WordPress. If you want a quick pass/fail list to run against an existing site, use our WordPress SEO checklist instead. This post goes deeper on the why and the how, including the parts that checklist leaves out, like speed, schema and content refreshes.
Step 1: Get the foundations right
Three settings decide whether the rest of your work counts at all.
Search visibility. Under Settings → Reading, make sure "Discourage search engines from indexing this site" is unchecked. Developers often tick it during a build and forget it at launch.
Permalinks. Under Settings → Permalinks, choose "Post name" or a similar readable structure. Decide this early. Changing it on an established site changes every URL, and each old URL then needs a redirect.
HTTPS and one canonical domain. Your site should load on one version only, for example https://example.com, with the other versions (http, www or non-www) redirecting to it. Check that the WordPress Address and Site Address in Settings → General match that version.
Finally, verify the site in Google Search Console. It's free, and it's the only place Google tells you directly which pages it has indexed, which it skipped and why. Bing Webmaster Tools offers the same for Bing.
Step 2: Install and configure an SEO plugin
WordPress doesn't give you a field for an SEO title or meta description, so you need an SEO plugin. Yoast SEO, Rank Math, All in One SEO and SEOPress are the main choices, and any of them is fine for most sites. We compare them in the best WordPress SEO plugins.
Once it's installed, spend twenty minutes on configuration rather than accepting every default:
- Set title templates for posts, pages, categories and archives, for example "Post title | Site name".
- Decide what to index. Tag archives, author archives on single-author blogs, and attachment pages often add thin, near-duplicate pages. Most plugins let you noindex them in one switch.
- Fill in site identity: your organization or person name, logo and social profiles, which feed your schema.
- Check the sitemap the plugin generates and submit it in Search Console.
Step 3: Speed and Core Web Vitals
Core Web Vitals are Google's measures of real-world page experience: how quickly the main content loads (Largest Contentful Paint), how quickly the page responds to input (Interaction to Next Paint) and how much the layout jumps around while loading (Cumulative Layout Shift). They're one signal among many, but a slow site also loses visitors before they read a word.
Start by measuring. PageSpeed Insights shows field data from real Chrome users where enough exists, and Search Console has a Core Web Vitals report grouped by URL type. Then work through the usual WordPress culprits:
- Hosting. Cheap shared hosting is often the biggest bottleneck. A good host with server-level caching fixes more than any plugin.
- Caching. Use page caching, either from your host or a caching plugin. Don't run two caching plugins.
- Images. Resize before upload, use modern formats such as WebP, and let WordPress lazy-load images below the fold. Your main hero image should not be lazy-loaded.
- Plugins and theme. Every plugin that adds scripts to the front end costs something. Remove what you don't use, and be wary of heavy page builders and slider plugins on key pages.
- Third-party scripts. Chat widgets, ad scripts and multiple analytics tags add up. Keep the ones that earn their place.
Speed work happens in your hosting panel, theme and plugin settings. It's not something to hand to a content tool.
Step 4: On-page SEO in WordPress
On-page SEO in WordPress comes down to making each page clearly about one thing, for both readers and search engines.
Pick one main topic per page
Before writing, decide the main search query a page should answer and set it as the focus keyphrase in your SEO plugin. Two posts targeting the same query compete with each other. If you find duplicates, merge them into the stronger post and redirect the other.
Titles and meta descriptions
Put the main topic near the start of the SEO title and keep it under about 60 characters. Write the meta description as a short pitch, roughly 120 to 155 characters, saying what the reader gets. Google sometimes rewrites both, but good ones are used more often and earn more clicks.
Headings and structure
Your theme usually prints the post title as the H1. Use H2s for main sections and H3s inside them, written as plain descriptions of what follows. Answer the main question early, then add detail. Short paragraphs, lists and tables make a page easier to scan.
Slugs and excerpts
Keep slugs short and descriptive, like /sourdough-starter/ rather than /how-to-make-the-best-sourdough-starter-at-home-2026/. Avoid dates in slugs for content you plan to update.
Step 5: Internal links
Internal links tell search engines which pages matter and how topics relate, and they keep readers moving through your site. A practical approach:
- Group your content into topics, each with one main "pillar" page and several supporting posts.
- Link every supporting post up to its pillar, and the pillar down to each supporting post.
- Use descriptive anchor text ("our guide to pruning roses"), not "click here".
- When you publish something new, go back and add links to it from two or three older related posts. This step is the one most people skip.
Also check for orphan pages, posts that nothing links to. Search engines find them less easily, and readers almost never do.
Step 6: Images and alt text
Alt text describes an image for screen reader users and helps search engines understand it. Write it literally and briefly: "Two hands kneading bread dough on a floured counter" works; "bread baking tips best bread recipe" doesn't. Decorative images can have empty alt text.
Use descriptive file names before upload (kneading-dough.jpg, not IMG_4471.jpg), set a featured image on every post so shares look right, and keep file sizes small for the speed reasons above.
Step 7: Schema and sitemaps
Schema markup is structured data that labels what a page contains: an article and its author, a product and its price, a local business and its address. Your SEO plugin adds the basics automatically. Review the settings so the organization name, logo and content types are correct.
Beyond that, add schema only where it honestly describes the page. A recipe site benefits from recipe schema; a local plumber from local business schema; a store from product schema. Test pages with Google's Rich Results Test, and don't add markup for content that isn't visible on the page.
For sitemaps, the main job is keeping them clean. Your sitemap should list the pages you want indexed and nothing else. If Search Console reports sitemap URLs as "excluded" or "noindex", fix the mismatch.
Step 8: Refresh old content
WordPress SEO optimization isn't finished at launch. Older posts drift: facts go stale, links break, competitors publish better answers. A quarterly refresh routine pays off:
- Find candidates. In Search Console, look for pages with many impressions but a low click-through rate, or traffic that has declined over several months.
- Update the substance. Correct outdated facts, add missing steps, and answer questions people now search for.
- Revisit the title and description. A clearer title can lift clicks without changing rankings.
- Add internal links to newer related posts.
- Merge or retire thin posts that don't earn their place, redirecting them to the best related page.
Where AI speeds up WordPress SEO optimization
Look back through these steps and a pattern appears. Steps 1 to 3 are settings and infrastructure: you do them once, in wp-admin and your hosting panel. Steps 4 to 8 are repeated across every post on the site, and that's where the hours go.
Those repetitive parts are a good fit for an AI assistant connected to your site. With WPMate, Claude or ChatGPT can read your posts, run a read-only SEO audit, and write SEO titles, meta descriptions and focus keyphrases straight into Yoast, Rank Math, AIOSEO or SEOPress. It can also set image alt text and edit content, with each change saved as a WordPress revision you can undo. A few WordPress SEO optimization tips that work well as prompts:
What it won't do is just as clear. WPMate can't change site settings like permalinks or search visibility, install plugins, or touch your theme and caching, so steps 1 to 3 stay with you. Publishing waits for your approval in the WPMate dashboard. And AI-written updates still need a human read for facts and tone. For more on the AI side, see WordPress AI SEO and the full list of WPMate features.
Frequently asked questions
How long does WordPress SEO optimization take to show results?
Fixing settings like search visibility can matter within days, once pages are recrawled. Content and on-page improvements usually take weeks to months to show in rankings, depending on your site and competition.
Do I need an SEO plugin for WordPress SEO?
For practical purposes, yes. WordPress has no built-in fields for SEO titles or meta descriptions and only basic sitemap and schema output. Any of the major SEO plugins fills those gaps.
What's the difference between this guide and a WordPress SEO optimization checklist?
A checklist tells you what to verify. This tutorial explains how and why, in the order to do it. Our WordPress SEO checklist is the quick audit companion to this guide.
Is on-page SEO in WordPress still worth doing in 2026?
Yes. Clear titles, descriptions, headings and internal links help search engines understand your pages and help readers choose them in results. They don't replace useful content, but they make sure it gets understood.
Can AI do WordPress SEO for me?
It can handle much of the repetitive on-page work, such as writing missing meta descriptions, fixing titles and adding alt text across many posts. Strategy, site settings, speed and fact-checking still need you.
Let AI handle the repetitive SEO work
Connect one WordPress site free, run an SEO audit and fix titles, descriptions and alt text in a single conversation.
Create free account