WordPress is a good platform for SEO out of the box: clean code, readable URLs and a built-in sitemap. But a few default settings work against you, and most sites need a little configuration to get titles, sitemaps and categories right.
In this guide I’ll walk you through the WordPress SEO setup I’d do on any new or existing site, in order. Most steps take a few minutes. I’ve referenced WordPress.org’s documentation and Google’s Search Central guidance throughout.
If you’re new to SEO in general, start with my on-page SEO checklist as well. This guide focuses on the WordPress-specific parts.
1. Make sure search engines can see your site
Go to Settings › Reading and check that “Discourage search engines from indexing this site” is unticked. Developers often tick it while building a site and forget to switch it off at launch. When it’s ticked, WordPress asks search engines not to index the site and also turns off its built-in sitemap.
2. Use HTTPS
Your site should load on https:// with a valid certificate. Most hosts provide free certificates (often from Let’s Encrypt). Then in Settings › General, make sure both the WordPress Address and Site Address start with https://.
3. Set SEO-friendly permalinks
WordPress’s default permalink setting is “Plain” (example.com/?p=123), which tells people and search engines nothing about the page. Go to Settings › Permalinks and choose Post name, so URLs look like example.com/wordpress-seo-guide/. Google recommends simple, descriptive URLs with words separated by hyphens.
Important for existing sites: WordPress’s documentation warns that permalinks are meant to be permanent. If your site already has traffic, changing the structure changes every URL. Only do it with 301 redirects in place from old URLs to new ones, and expect a temporary dip while Google updates.
4. Install one SEO plugin
WordPress doesn’t let you edit meta descriptions or control indexing of archives without a plugin. The popular, well-maintained choices are:
| Plugin | Free version includes |
|---|---|
| Yoast SEO | Titles and meta descriptions, XML sitemaps, schema, breadcrumbs, indexing controls |
| Rank Math | Similar features plus more options in the free version |
| All in One SEO (AIOSEO) | Similar core features |
Pick one. Running two SEO plugins causes duplicate tags and conflicts. I use Yoast SEO on WebTechHelp, so I’ll use its terms below, but the same settings exist in the others.
5. Set up title and meta description templates
In your SEO plugin, set default templates for posts, pages, categories and the homepage. A sensible post title template is:
Post title | Site name
Then, for important pages, write a custom SEO title and meta description in the plugin box under the editor:
- Title: describe the page clearly and include the main keyword naturally, roughly 50 to 60 characters.
- Meta description: a one or two sentence summary that makes people want to click, roughly 150 to 160 characters.
Google may rewrite titles and descriptions if it thinks another version better matches the search, but a clear, accurate one gives you the best chance of being shown as written.
6. Check your XML sitemap
Since version 5.5, WordPress creates a sitemap at /wp-sitemap.xml. Yoast and most SEO plugins replace it with their own (Yoast’s is at /sitemap_index.xml). Either is fine, but you only need one.
Open your sitemap in a browser and check it lists your posts, pages and main categories, and doesn’t list things you don’t want indexed.
7. Connect Google Search Console
Add your site to Google Search Console, verify it, and submit your sitemap URL. Search Console shows which searches bring people to your site, which pages are indexed, and any errors. My Google Search Console tutorial walks through setup step by step.
While you’re at it, set up Google Analytics 4 too. My GA4 tutorial explains how.
8. Organise categories and tags
Categories and tags create archive pages. Used well, they help readers and search engines understand your site. Used badly, they create hundreds of thin, near-duplicate pages.
- Use a small number of broad categories (5 to 10 for most sites), and put each post in one main category.
- Write a short description for each category page.
- Use tags sparingly, or not at all. A tag used on only one post creates a near-empty page.
- In your SEO plugin, consider setting tag archives to noindex if they don’t add value. (That’s what I do on WebTechHelp.)
9. Decide which archive pages to index
WordPress also creates author archives, date archives and attachment pages. For most single-author blogs:
- Author archives: noindex or disable if there’s only one author.
- Date archives: noindex or disable.
- Media attachment pages: redirect to the file or parent post (Yoast does this by default).
10. Optimise images
- Give every meaningful image descriptive alt text. It helps screen-reader users and helps Google understand the image.
- Use descriptive file names (
blue-running-shoes.webp, notIMG_4021.jpg). - Compress and resize images before uploading, and use WebP where you can.
11. Add internal links
Link between related posts with descriptive anchor text, and link to your most important pages from your menu and homepage. Internal links help Google discover pages and understand which ones matter most. A “related guides” section at the end of each post is an easy habit.
12. Make your site fast
Speed is part of Google’s page experience signals, and slow sites lose visitors. The essentials on WordPress are good hosting, page caching, optimised images and fewer plugins. My guide on how to speed up WordPress covers 12 fixes in order.
13. Use structured data (schema)
Your SEO plugin adds basic schema automatically (for example Article, Organization or Person, and breadcrumbs). Fill in the plugin’s site representation settings (organisation or person, name and logo) so it’s accurate. For local businesses, add LocalBusiness details: see my local SEO guide.
14. Handle redirects when you change URLs
If you change a post’s slug or delete a page, set up a 301 redirect from the old URL to the most relevant new page. Yoast Premium and Rank Math include redirect managers, or you can use the free Redirection plugin. Check Search Console’s Pages report for 404 errors every month.
15. Keep WordPress secure and updated
A hacked site can be flagged in search results or stuffed with spam pages. Keep WordPress, themes and plugins updated, use strong passwords with two-factor authentication, and take regular backups. My website security checklist covers the essentials.
Writing posts that rank
Settings only get you so far. Google’s guidance on helpful content asks whether your content provides original information or analysis, whether it’s written by someone with real expertise, and whether readers leave feeling they got what they needed. In practice:
- start with keyword research to find what people actually search for
- match the search intent (a how-to, a comparison, a definition)
- use one clear H1 (your post title) and logical H2 and H3 headings
- answer the main question early, then go deeper
- add an author bio that explains who wrote the post and why they know the topic
- update important posts when things change
Common WordPress SEO mistakes
- Leaving “Discourage search engines” ticked after launch.
- Changing permalinks without redirects.
- Running two SEO plugins.
- Creating hundreds of tags.
- Uploading huge, unoptimised images.
- Installing dozens of plugins “just in case”.
- Publishing thin posts just to publish more often.
Frequently asked questions
Is WordPress good for SEO? Yes. It produces clean URLs and code, and with an SEO plugin you can control everything that matters. Most ranking success still comes from content, links and site speed.
Which is better, Yoast or Rank Math? Both are solid. Yoast is simpler and very widely used; Rank Math offers more features in its free version. Choose one and set it up properly.
Do I need to pay for an SEO plugin? No. The free versions cover the essentials. Premium versions add extras such as redirect managers and internal linking suggestions.
How long does WordPress SEO take to work? New sites usually take a few months to build rankings. Technical fixes on an existing site can show results within weeks, once Google recrawls the pages.
Related guides on WebTechHelp
- Technical SEO audit checklist
- Link building for beginners
- How to create a WordPress blog
- Improve Core Web Vitals
Sources
- WordPress.org: Customize permalinks
- Make WordPress Core: New XML sitemaps functionality in WordPress 5.5
- Google Search Central: URL structure best practices
- Google Search Central: Influencing your title links
- Google Search Central: Creating helpful, reliable, people-first content
- Google Search Central: SEO Starter Guide



