Home / Guides / SEO / WordPress SEO

SEO guide · WordPress SEO

WordPress SEO: The Complete Setup Guide

Updated · 6 min read · By the FORM & FRAME team

WordPress gives you a good SEO foundation out of the box, and a lot of ways to undermine it with the wrong setting, theme or plugin. This guide goes through WordPress setup in the order we use on client sites, and links to our WordPress handbook for the technical detail behind each step.

Key takeaways

  • Check Settings → Reading: "Discourage search engines" must be off on the live site.
  • Use Post name permalinks and never change them without redirects.
  • Run one SEO plugin, configured deliberately, not left on defaults.
  • Decide which archives (categories, tags, authors, dates, attachments) deserve indexing.
  • Speed and security are SEO on WordPress: hosting, caching, images and updates.
In this guide
  1. 1. Search engine visibility
  2. 2. Permalinks
  3. 3. Choose one SEO plugin
  4. 4. Titles and meta descriptions
  5. 5. Decide what gets indexed
  6. 6. XML sitemaps
  7. 7. Structured data
  8. 8. Theme and page builders
  9. 9. Speed and Core Web Vitals
  10. 10. Media library SEO
  11. 11. Redirects and 404s
  12. 12. Internal linking
  13. 13. Security and uptime
  14. 14. Multilingual WordPress
  15. Common WordPress SEO mistakes
  16. WordPress SEO checklist
  17. Frequently asked questions

1. Search engine visibility

Settings → Reading → Search engine visibility adds a site-wide noindex when ticked. It is meant for development sites, and it is one of the most common reasons a launched site never appears in Google. Untick it on launch day, then confirm with URL Inspection in Search Console.

Staging copies should stay hidden: keep this box ticked on staging, and add password protection as well.

Settings → Permalinks → Post name gives URLs like /kitchen-renovations/. Edit slugs to be short and descriptive before publishing. On an existing site, changing the structure changes every URL; only do it with a full redirect plan (see migration SEO).

3. Choose one SEO plugin

An SEO plugin manages titles, meta descriptions, canonicals, robots meta, sitemaps, schema and social previews. Popular choices include Yoast SEO, Rank Math, All in One SEO, SEOPress and The SEO Framework. Choose one. Running two produces duplicate titles, conflicting canonicals and two sitemaps. Our plugin compatibility database shows which plugins overlap.

Configure, don't accept defaults

  • Site representation: Organization or Person, name, logo, social profiles
  • Title templates per content type (pages, posts, products, categories)
  • Which content types and taxonomies appear in search results and sitemaps
  • Breadcrumbs enabled (and output in the theme)
  • Default social sharing image
  • Redirect manager or 404 monitor, if the plugin has one and you are not using another
  • Webmaster verification is better done at DNS level in Search Console

4. Titles and meta descriptions

Write a custom title and meta description for every important page and post. Templates are a fallback, not a strategy. See our on-page SEO guide for how to write them.

Check your theme outputs exactly one <title> and that page builders are not adding their own meta tags as well. View the page source and search for <title and description.

5. Decide what gets indexed

WordPress URL typeTypical decisionWhy
Pages and postsIndexYour main content
CategoriesIndex if curated with descriptionsCan rank for broad topics
TagsUsually noindexOften thin and overlapping with categories
Author archivesNoindex on single-author sitesDuplicate of the blog listing
Date archivesNoindex or disableNo search value
Attachment pagesDisable (redirect to the file or parent)Thin pages with just an image. WordPress 6.4+ disables them on new installs
Internal search results (?s=)NoindexInfinite, low-quality combinations
Cart, checkout, account, thank-you pagesNoindexNo value to searchers

6. XML sitemaps

WordPress has a built-in sitemap at /wp-sitemap.xml (since 5.5). SEO plugins replace it with their own (often /sitemap_index.xml). Make sure only one is active, it only contains indexable content, and it is submitted in Search Console and listed in robots.txt.

7. Structured data

Your SEO plugin generates a schema graph. Fill in the business details it asks for, add LocalBusiness details if you serve a local area, and do not install an extra schema plugin that duplicates the output. Validate with the Rich Results Test. See our schema guide.

8. Theme and page builders

  • Choose a well-maintained, lightweight theme with a proper heading structure (one H1 per page).
  • Page builders are convenient but can add heavy CSS/JS and deeply nested HTML. Use their performance settings, and avoid stacking add-on packs. Our performance guide covers this.
  • Check that content built in tabs, sliders or accordions is in the HTML, not loaded only on click.

9. Speed and Core Web Vitals

  • Hosting first: a modern PHP version, OPcache, server-level caching and enough PHP workers. See PHP and hosting configuration.
  • One caching plugin (or the host's cache), correctly excluding cart, checkout and logged-in users.
  • Images: WordPress creates responsive sizes and supports WebP (and AVIF where the server supports it). Compress uploads, never upload 6 MB phone photos straight to the media library.
  • Fewer plugins doing more work on each page load. Remove anything you do not use.
  • Do not lazy-load the main hero image; WordPress already prioritises the first content image.

10. Media library SEO

  • Rename files before uploading (sandton-office-fitout.webp, not IMG_4471.jpg).
  • Fill in the Alt text field with a real description; leave decorative images empty.
  • Avoid giant originals; WordPress scales images above 2560 px, but smaller is better.

11. Redirects and 404s

When you change a slug, WordPress often redirects the old post URL automatically, but not always (pages, custom post types, deleted content). Use one redirect manager (a plugin or your SEO plugin's module), monitor 404s, and redirect old URLs that have links or traffic to the most relevant live page.

12. Internal linking

Link related posts and services in the content itself, use descriptive anchor text, and keep menus focused. Related-post widgets help, but editorial links inside paragraphs carry more meaning.

13. Security and uptime

Hacked WordPress sites get spam pages injected, redirects to scam sites and "This site may be hacked" warnings in Google. Keep core, themes and plugins updated, remove abandoned plugins, use strong passwords and two-factor authentication, and keep off-site backups. Our WordPress security hardening guide covers all of it.

14. Multilingual WordPress

If you publish in more than one language, use a multilingual plugin (WPML, Polylang, TranslatePress) that outputs hreflang and language-specific sitemaps, and make sure your SEO plugin integrates with it. Machine-translated pages that nobody reviews are low quality and rarely help.

Common WordPress SEO mistakes

MistakeEffectFix
"Discourage search engines" left onWhole site noindexedUntick in Settings → Reading
Two SEO plugins activeDuplicate tags, conflicting canonicals and sitemapsMigrate to one and deactivate the other
Theme and plugin both output Open Graph or schemaDuplicated, conflicting dataDisable the theme's version
Attachment pages indexedHundreds of thin pagesRedirect attachments to files
Thousands of tagsThin, duplicate archivesPrune tags, noindex tag archives
Slugs changed without redirects404s and lost rankingsAdd 301 redirects
Heavy page builder plus many add-onsSlow pages, poor INPSimplify; use builder performance settings
Outdated, abandoned pluginsHacks and spam injectionUpdate or replace; see the plugin database

WordPress SEO checklist

  • Search engine visibility: not discouraged on live site
  • Permalinks set to Post name (or another clean structure) and stable
  • One SEO plugin installed and fully configured
  • Custom titles and meta descriptions on all important pages
  • Indexing rules set for tags, authors, dates, attachments and search
  • One sitemap, submitted to Search Console, referenced in robots.txt
  • Organization or LocalBusiness schema configured; no duplicate schema sources
  • Lightweight theme with one H1 per page and breadcrumbs
  • Caching, image optimisation and current PHP; Core Web Vitals checked
  • Redirect manager in place; 404s monitored
  • Core, theme and plugins updated; unused plugins removed; 2FA on admin accounts
  • Off-site backups tested

Want it set up for you? We build WordPress sites with this configuration as standard; see SEO and Hosting & Care.

Frequently asked questions

Is WordPress good for SEO?

Yes. WordPress produces clean, crawlable HTML, has a built-in XML sitemap, supports readable URLs and has mature SEO plugins. How well a WordPress site ranks depends on its content, theme, speed, hosting and configuration, not on WordPress itself.

Which is better, Yoast SEO or Rank Math?

Both are capable and widely used; either is fine for most sites. What matters is running only one SEO plugin, configuring it properly (titles, indexing rules, schema, sitemaps) and writing good content. Switching between them is possible with their import tools.

What permalink structure should I use in WordPress?

For most business sites, 'Post name' (/%postname%/) gives short, readable URLs. Avoid changing the structure on an established site unless you set up 301 redirects for every old URL.

Should I noindex category and tag pages?

Category pages that are well organised and have useful descriptions can rank and are worth indexing. Tag pages are often thin and duplicate categories; noindex them or use tags sparingly. Decide based on whether each archive is genuinely useful to a searcher.

Why is my WordPress site not showing on Google?

Common causes are the 'Discourage search engines from indexing this site' setting being left on after launch, a noindex setting in the SEO plugin, robots.txt blocking the site, the site being too new to be crawled, or no sitemap submitted. Check Settings → Reading first, then Google Search Console.

Last reviewed 4 December 2026. Search engines change often; we revisit these guides regularly. This is general guidance, not a guarantee of rankings.

Want this done for your business?

We handle technical SEO, local SEO, on-page work and reporting for South African businesses, on websites we build and on ones we inherit.

See SEO services