| name | wp-seo |
| description | Analyze and improve on-page SEO for WordPress content |
| enabled | true |
Optimize WordPress content for search engines.
SEO audit checklist
- Title tag: includes primary keyword, 50-60 characters.
- Meta description: 120-160 characters, includes keyword and CTA.
- Headings: one H1, logical H2/H3 hierarchy.
- URL slug: short, includes keyword, no stop words.
- Images: alt text, compressed, descriptive filenames.
- Internal links: 2-5 links to related content.
- External links: 1-3 authoritative sources.
- Content length: 300+ words for pages, 600+ words for blog posts.
- Readability: short paragraphs, bullet lists, clear language.
- Schema markup: appropriate structured data (Article, FAQ, Product).
WP-CLI SEO commands (Yoast)
wp yoast index --reindex
curl -s https://example.com/sitemap_index.xml | head -20
Quick SEO fix workflow
- Review the existing post/page content.
- Identify missing or weak SEO elements.
- Suggest specific improvements (title, meta, structure).
- Provide a before/after comparison.