WordPress SEO is less about secret tricks and more about getting a handful of fundamentals right and keeping them right: clean URLs, accurate titles, a sitemap search engines can read, structured data, a fast front end and content that answers real questions. WordPress handles a surprising amount of this out of the box, and a good SEO plugin fills most of the gaps. This guide walks through each layer in the order you would tackle it on a new or existing site.
Start with the settings WordPress already gives you
Before installing anything, check three core settings. They cost nothing and mistakes here can undo every other effort.
Search engine visibility
Go to Settings → Reading and look at “Search engine visibility”. If “Discourage search engines from indexing this site” is ticked, WordPress asks crawlers to stay away. It is commonly switched on during development and forgotten at launch. Make sure it is unticked on any site you want found.
Permalinks
Under Settings → Permalinks, choose “Post name” (/%postname%/) unless you have a specific reason not to. It produces short, readable URLs such as example.com/winter-running-shoes/ instead of ?p=123. News sites sometimes prefer a date-based structure, which is fine too; what matters is choosing once. Changing permalinks on an established site breaks every inbound link unless you add 301 redirects, so settle this before you publish much.
HTTPS and a single canonical domain
In Settings → General, both the WordPress Address and Site Address should start with https:// and use the same host, with or without www. Your host or CDN should redirect every other variant (http, the other www form) to that one version with a 301. Search engines then consolidate signals on a single domain instead of splitting them.
Choosing a WordPress SEO plugin
Core WordPress outputs a title tag and, since version 5.5, a basic XML sitemap at /wp-sitemap.xml. It does not give you per-page meta descriptions, social sharing tags, granular indexing controls or rich schema. That is the job of an SEO plugin. The three most widely used are:
| Plugin | Strengths | Worth knowing |
|---|---|---|
| Yoast SEO | Long track record, clear content and readability analysis, solid defaults, large documentation library | Some features (redirect manager, multiple focus keywords) are in the paid tier |
| Rank Math | Many features in the free version, setup wizard, built-in schema templates and redirections | Lots of modules; switch off the ones you do not use to keep the admin tidy |
| All in One SEO (AIOSEO) | Beginner-friendly interface, TruSEO on-page checks, local SEO add-ons | Several advanced features require a paid plan |
All three do the essentials well. Pick one and use only one: running two SEO plugins produces duplicate meta tags and conflicting sitemaps. Feature lists and plan tiers change often, so check each vendor’s current pricing page before deciding. Whichever you choose, run its setup wizard, tell it whether the site represents a person or an organization, and connect Google Search Console when prompted.
Titles, meta descriptions and indexing controls
The title tag is still one of the strongest on-page signals and is the headline people see in search results. A sound pattern is the primary topic first, then a qualifier, then the brand if space allows: “Trail Running Shoes for Winter | Example Store”. Search engines truncate long titles by pixel width, so keep the important words near the start.
Meta descriptions do not directly influence rankings, but they shape the snippet and therefore the click-through rate. Write a one or two sentence summary that matches the search intent and roughly fits in 150 to 160 characters. Google rewrites descriptions it considers a poor match, so treat yours as a strong suggestion rather than a guarantee.
Your SEO plugin also controls which pages should be indexed. Sensible defaults for most sites:
- Index posts, pages, products and the main category archives.
- Noindex thin archives: date archives, attachment pages and author archives on single-author sites.
- Noindex internal search results, thank-you pages, cart, checkout and account pages.
- Redirect attachment URLs to the parent post or the file itself, which Yoast and Rank Math both offer as a setting.
XML sitemaps, robots.txt and Search Console
When an SEO plugin is active it usually replaces the core sitemap with its own, typically at /sitemap_index.xml. Open it in a browser and confirm it lists the content types you want indexed and nothing you have set to noindex. Then submit that URL in Google Search Console under Sitemaps, and in Bing Webmaster Tools.
WordPress serves a virtual robots.txt if no physical file exists. Keep it short. A typical version looks like this:
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Sitemap: https://example.com/sitemap_index.xml
Do not block /wp-content/ or /wp-includes/: search engines need your CSS and JavaScript to render pages properly. Also remember that robots.txt prevents crawling, not indexing. To keep a page out of results, use a noindex tag and let it be crawled.
Once Search Console is connected, check the Pages report (indexing) every few weeks. It tells you which URLs are indexed, which are excluded and why, and it is usually the first place a technical problem shows up.
Schema markup and rich results
Structured data (schema.org vocabulary, normally in JSON-LD format) tells search engines what a page is: an article, a product, a recipe, an event, an organization. It can make pages eligible for rich results such as product ratings or breadcrumbs. Yoast, Rank Math and AIOSEO all output a baseline graph automatically, covering the website, the organization or person behind it, and an Article or WebPage entity per URL.
Go further only where the content genuinely fits a type. WooCommerce stores get Product schema with price and availability; recipe, event and local business sites benefit from their matching types. Validate with Google’s Rich Results Test, and never mark up content that is not visible on the page, such as invented reviews. That violates Google’s structured data guidelines and can lead to a manual action.
Speed and Core Web Vitals
Page experience is a ranking consideration, and Google measures it with Core Web Vitals, collected from real Chrome users. The three metrics and their “good” thresholds are:
- Largest Contentful Paint (LCP): how quickly the main content appears. Good is 2.5 seconds or less.
- Interaction to Next Paint (INP): how quickly the page responds to taps and clicks. Good is 200 milliseconds or less.
- Cumulative Layout Shift (CLS): how much the layout jumps while loading. Good is 0.1 or less.
On WordPress the biggest wins usually come from quality hosting with a recent PHP version, full-page caching, properly sized and compressed images (WordPress generates responsive image sizes and lazy-loads images by default), and fewer heavy scripts. Theme choice matters more than many people expect: a lightweight block theme that loads only the CSS for blocks actually on the page starts from a better baseline than a theme that ships a large framework on every request. Our guide to WordPress speed optimization techniques covers caching, images and script loading in depth, and the block themes guide explains why block themes tend to be lean.
Check field data in Search Console’s Core Web Vitals report and lab data in PageSpeed Insights. Lab scores are useful for debugging, but the field data is what Google uses.
Internal linking and site structure
Internal links help search engines discover pages, understand how topics relate, and decide which pages matter most. A practical structure for content sites is hub and spoke: one comprehensive guide per major topic, linking out to narrower articles, which link back to the hub and to each other where relevant.
- Use descriptive anchor text (“how to back up WordPress”) rather than “click here”.
- Link new posts from at least two or three older, relevant posts after publishing, not just the other way round.
- Keep categories few and meaningful; use tags sparingly or not at all, since dozens of near-empty tag archives create thin pages.
- Add breadcrumbs. Most SEO plugins provide a breadcrumb block, and block themes can place it in the single post template through the Site Editor.
- Find orphan pages (no internal links pointing to them) with a crawler or your SEO plugin’s link report, and fix them.
If you ever change a URL, add a 301 redirect from the old address. Rank Math and Yoast Premium include redirect managers; the free Redirection plugin is another common option.
Content that earns rankings
Technical WordPress SEO only removes obstacles. What ranks is content that satisfies the person searching better than the alternatives. A few habits make a consistent difference:
- Match intent. Search your target phrase and look at what already ranks. If the results are step-by-step tutorials, a product page will struggle, and vice versa.
- Structure for scanning. One H1 (your post title), logical H2 and H3 headings, short paragraphs, lists and tables where they help. The block editor’s List View shows your heading outline at a glance.
- Show experience. Google’s guidance on helpful content stresses first-hand experience and expertise. Real examples, original photos and clear author information all help.
- Write image alt text that describes the image for people using screen readers. It also gives search engines context.
- Update rather than duplicate. Refresh an existing article when facts change instead of publishing a near-identical new one that competes with it.
Treat the plugin’s green lights as a checklist, not a goal. A post can score perfectly on keyword density and still fail to help anyone.
Frequently asked questions
Is WordPress good for SEO out of the box?
It is a solid foundation: clean permalinks, a title tag, a core sitemap and semantic HTML from the block editor. Most sites still benefit from an SEO plugin for meta descriptions, social tags, schema and indexing control.
Does my theme affect WordPress SEO?
Yes, mainly through speed, heading structure and mobile usability. A theme that loads slowly or uses headings for decoration makes everything else harder. When comparing options in a catalogue such as our theme collection or elsewhere, run the demo through PageSpeed Insights and check its heading outline.
How long does SEO take to show results?
There is no fixed timeline. New pages can be indexed within days, but ranking well for competitive terms often takes months and depends on competition, content quality and links. Technical fixes such as removing an accidental noindex can show effects much faster.
Can I switch SEO plugins later?
Yes. Rank Math and AIOSEO both include importers for Yoast data, and Yoast can import from several others. Back up first, run the import, then spot-check titles and descriptions on a sample of pages before deactivating the old plugin.
Key takeaways
- Check Settings → Reading visibility, choose a “Post name” permalink structure early, and force one HTTPS domain.
- Install exactly one SEO plugin (Yoast, Rank Math or AIOSEO) and configure indexing for thin archives and utility pages.
- Submit your sitemap in Search Console and review the indexing report regularly.
- Use schema only where it honestly describes visible content, and validate it.
- Aim for good Core Web Vitals through hosting, caching, images and a lightweight theme.
- Build hub-and-spoke internal links and write for search intent, not for a plugin score.
Get these fundamentals in place once, revisit them every quarter, and most of your WordPress SEO effort can go where it pays off most: publishing genuinely useful content.