WordPress SEO: Complete Optimization Guide
Choose One SEO Plugin and Stick With It
WordPress SEO is heavily plugin-dependent. Yoast SEO and RankMath are the two dominant options - both are excellent and either will handle sitemap generation, meta tags, canonical URLs, schema markup, and breadcrumbs. Do not install both. Having two active SEO plugins creates conflicts and duplicate meta tags. Yoast is more established with a larger support community; RankMath is newer with a more generous free tier that includes keyword tracking and schema support without a premium upgrade.
Permalinks: Set This First
WordPress default permalinks (?p=123) are terrible for SEO. Go to Settings, then Permalinks, and switch to Post name (/%postname%/). Do this before you publish any content - changing permalink structure later requires 301 redirects for every existing URL. The Post name structure is clean, human-readable, and gives Google keyword signals from the URL. Avoid date-based structures for evergreen content - they make articles look outdated.
Speed: WordPress-Specific Fixes
WordPress tends to be slow by default due to PHP execution, database queries, and plugin overhead. Key fixes: install a caching plugin (WP Rocket is paid but excellent, W3 Total Cache and WP Super Cache are free), optimize images with ShortPixel or Imagify (auto-compress on upload), use a CDN like Cloudflare (free tier is usually sufficient), and minimize plugins - every active plugin adds PHP processing overhead. Measure with PageSpeed Insights before and after each change.
Common WordPress SEO Mistakes
Tag archives: WordPress creates a separate indexed page for every tag you create. With hundreds of tags, this generates hundreds of thin duplicate pages. Fix: go to Yoast SEO or RankMath settings and noindex tag archives, or use only a small number of meaningful tags. Category SEO: category archive pages often have thin content. Add a description to each category (in Posts, then Categories) to give them unique content. Duplicate homepage: some setups create both yoursite.com and yoursite.com/home as separate pages - ensure the homepage has a canonical tag pointing to your preferred URL.
Content and On-Page SEO in WordPress
Use Yoast or RankMath's content analysis for each post and page. Both plugins show a readability score and SEO score with specific recommendations. Target one primary keyword per page. Write a custom SEO title and meta description for every post - do not rely on the auto-generated defaults, which often truncate badly. Use the block editor (Gutenberg) heading blocks for H2 and H3 structure - these map correctly to HTML heading tags which Google reads for page structure.
WordPress Site Security and SEO
Hacked WordPress sites get flagged in Google Search Console under Security Issues and can receive Manual Actions. Keep WordPress core, themes, and plugins updated. Use a security plugin like Wordfence or Sucuri. Disable XML-RPC if you do not need it (a common attack vector). Use strong admin passwords and two-factor authentication. A compromised site can drop completely from search results until cleaned and a reconsideration request is submitted.
Related Guides
- Shopify SEO: Optimize Your Store for Google
- Wix SEO: How to Optimize Your Wix Website for Google
- Squarespace SEO: Optimize for Google
- Webflow SEO: Optimize for Google
- Ghost SEO: Optimize Your Publication
- WooCommerce SEO: Optimize Your Store
- WordPress Core Web Vitals: Fix LCP, INP and CLS
- WooCommerce Sitemap: Products, Categories, and SEO Setup