Skip to main content

wp-seo-ops Documentation

A general-purpose WordPress SEO operations CLI product focused on server-side workflows, WP-CLI integration, and plugin-agnostic SEO metadata management.

seo-ops --version
# wp-seo-ops 0.1.0

seo-ops help
# Shows all commands and global options

Quick Start

# Install
bash scripts/install.sh

# Configure
seo-ops config init

# Get SEO meta for a post
seo-ops meta get 123 title --path=/var/www/html

# Run a full audit
seo-ops audit full --path=/var/www/html --format=md --output=report.md

Learn The Product

Start here if you want to understand the product rather than only look up commands:

PageWhat You Learn
What Is wp-seo-ops?Product purpose, audience, and mental model
Core ConceptsWordPress paths, post IDs, SEO fields, adapters, and outputs
Common WorkflowsEnd-to-end operating examples
Safety ModelHow to use dry-run, confirmations, backups, and validation
Plugin CompatibilityHow the CLI maps fields across SEO plugins
Quick TutorialStep-by-step from install to first audit to first metadata update
Production PlaybooksReal-world operating scenarios with output examples
What Changes In WordPress?Database tables and meta keys affected by each command
Staging And BackupSafe staging workflows, backups, and rollback procedures

Sample Files

Ready-to-use sample CSV files for testing and learning:

FilePurpose
meta-bulk-update.csvBulk update titles, descriptions, focus keywords
redirect-import.csvImport redirect rules from CSV
content-pipeline.csvContent pipeline with keywords, intent, and stages
instant-indexing-urls.csvBulk URL submission for IndexNow

Features

  • Plugin-agnostic — works with Yoast, SEOPress, Rank Math, AIOSEO, Slim SEO, and no-plugin fallback
  • Config management — persistent configuration with config init, config get, config set
  • Meta management — get, set, delete, list, export, import, bulk update SEO metadata
  • Technical audits — meta tags, links, images, PageSpeed, schema, redirects, sitemaps, robots.txt, content quality
  • Redirect management — list, add, delete, import, export redirect rules
  • Content pipeline — AI content generation and pipeline management
  • Analytics adapters — Google Search Console, SpyFu keyword analysis
  • Instant indexing — submit URLs via IndexNow protocol
  • Safe by design — write/delete workflows support --dry-run; delete workflows require explicit confirmation or --yes

Supported SEO Plugins

PluginDetectionMeta Keys
Yoast SEOwordpress-seo_yoast_wpseo_*
SEOPresswp-seopress_seopress_*
Rank Mathseo-by-rank-mathrank_math_*
AIOSEOall-in-one-seo-pack_aioseo_*
Slim SEOslim-seoGeneric _seo_ops_* fallback
NonefallbackGeneric _seo_ops_*