WordPress SEO Autopilot
Transform your WordPress site into an SEO powerhouse with comprehensive automation. This skill handles everything from meta tag optimization and schema markup generation to internal linking strategies and RankMath integration, delivering enterprise-level SEO without the manual work.
Overview
WordPress SEO Autopilot eliminates the tedious manual work of optimizing WordPress sites for search engines. It integrates directly with your WordPress REST API, RankMath SEO plugin, Google Search Console, and other essential SEO tools to provide:
- - Automated Meta Optimization: Generates compelling titles, descriptions, and Open Graph tags
- Schema Markup Generation: Creates structured data for articles, products, events, and local businesses
- Internal Linking Strategy: Identifies and implements strategic internal link opportunities
- Content Analysis: Performs keyword density analysis and readability scoring
- Technical SEO Audits: Checks site speed, mobile-friendliness, and crawlability issues
- RankMath Integration: Syncs with RankMath Pro for advanced SEO features
- Bulk Operations: Processes hundreds of posts/pages in automated workflows
Perfect for agencies, content marketers, and WordPress developers managing multiple sites or large content libraries.
Quick Start
Get started immediately with these example prompts:
CODEBLOCK0
CODEBLOCK1
CODEBLOCK2
CODEBLOCK3
CODEBLOCK4
Capabilities
Meta Tag Optimization
- - Smart Title Generation: Creates compelling, keyword-optimized titles under 60 characters
- Description Crafting: Generates meta descriptions with clear CTAs and keyword placement
- Open Graph & Twitter Cards: Optimizes social media sharing with proper OG tags
- Bulk Processing: Updates hundreds of posts simultaneously with consistent formatting
Schema Markup & Structured Data
- - Article Schema: Implements proper structured data for blog posts and news articles
- Product Schema: Enhances WooCommerce products with rich snippets
- Local Business Schema: Optimizes location-based businesses for local search
- FAQ & How-To Schema: Creates structured data for informational content
- Review Schema: Implements star ratings and review markup
Internal Linking Strategy
- - Contextual Link Discovery: Identifies relevant internal linking opportunities using semantic analysis
- Anchor Text Optimization: Suggests natural, keyword-rich anchor text variations
- Link Equity Distribution: Balances internal link flow to boost important pages
- Automated Implementation: Inserts internal links directly into post content
Technical SEO Analysis
- - Core Web Vitals Monitoring: Tracks LCP, FID, and CLS metrics
- Mobile-First Indexing: Ensures mobile optimization compliance
- Crawlability Assessment: Identifies blocked resources and crawl errors
- Site Speed Analysis: Provides specific performance improvement recommendations
RankMath Integration
- - Score Optimization: Automatically improves RankMath SEO scores
- Keyword Tracking: Syncs with RankMath's rank tracking features
- Content Analysis: Leverages RankMath's content AI for optimization suggestions
- Schema Sync: Coordinates schema markup with RankMath settings
Configuration
Required Environment Variables
CODEBLOCK5
Optional Configuration
CODEBLOCK6
WordPress Setup
- 1. Install WordPress Application Passwords plugin (or use WordPress 5.6+)
- Generate application password: Users → Profile → Application Passwords
- Install RankMath SEO plugin (free or pro)
- Enable WordPress REST API (usually enabled by default)
RankMath Configuration
- 1. Install RankMath SEO plugin
- Complete setup wizard with your target keywords
- Enable API access in RankMath → General Settings → API
- Copy your API key to environment variables
Example Outputs
SEO Audit Report
CODEBLOCK7
Meta Tag Optimization
CODEBLOCK8
Tips & Best Practices
Content Optimization Strategy
- - Focus on User Intent: Optimize for what users actually search for, not just keywords
- Long-tail Opportunities: Target specific, lower-competition phrases for quicker wins
- Content Clusters: Create topic clusters with pillar pages and supporting content
- Update Frequency: Refresh old content regularly to maintain search visibility
Technical SEO Priorities
- - Core Web Vitals First: Prioritize page speed and user experience metrics
- Mobile Optimization: Ensure all pages pass Google's mobile-friendly test
- Schema Implementation: Start with article/product schema, then expand to more specific types
- Internal Linking: Aim for 3-5 internal links per 1000 words of content
RankMath Optimization
- - Target Score 80+: Aim for green scores on all important pages
- Multiple Keywords: Optimize for 2-3 related keywords per page
- Content AI: Use RankMath's content suggestions for competitive analysis
- Rank Tracking: Monitor keyword positions and adjust strategies accordingly
Automation Workflows
- - New Content Process: Set up automatic meta generation and schema markup for new posts
- Monthly Audits: Schedule comprehensive SEO audits to catch issues early
- Competitor Monitoring: Track competitor keyword rankings and content strategies
- Performance Alerts: Set up notifications for ranking drops or technical issues
Safety & Guardrails
Content Boundaries
- - No Keyword Stuffing: Maintains natural keyword density between 0.5-2%
- Brand Voice Preservation: Adapts to your existing content style and tone
- Manual Review Required: Flags significant changes for human approval
- Backup Creation: Always creates backups before making bulk changes
Technical Limitations
- - Rate Limiting: Respects WordPress API limits to prevent server overload
- Plugin Compatibility: Checks for conflicts with existing SEO plugins
- Theme Restrictions: Some schema implementations may require theme modifications
- Server Resources: Large sites may need processing in smaller batches
Data Privacy
- - No Content Storage: Processes content without storing on external servers
- API Security: Uses encrypted connections and secure authentication
- GDPR Compliance: Respects privacy settings and cookie consent
- Local Processing: Sensitive operations performed locally when possible
Quality Assurance
- - Human Oversight: Recommends manual review for critical pages
- A/B Testing: Suggests testing meta tag changes on less critical pages first
- Rollback Capability: Maintains version history for easy rollbacks
- Performance Monitoring: Tracks impact of changes on site performance
Troubleshooting
Common WordPress Issues
Q: Getting "REST API disabled" error
A: Enable REST API in WordPress admin → Settings → Permalinks → Save Changes. Some security plugins block REST API access.
Q: Application password authentication fails
A: Ensure WordPress is version 5.6+ or install Application Passwords plugin. Check username/password combination in wp-admin.
Q: Bulk operations timing out
A: Reduce batch sizes in configuration. Process 10-20 posts at a time for large sites.
RankMath Integration Issues
Q: RankMath API key not working
A: Verify API is enabled in RankMath → General Settings → API. Copy key exactly without extra spaces.
Q: Schema markup conflicts
A: Disable other schema plugins. RankMath handles most schema types automatically.
Q: SEO scores not updating
A: Clear RankMath cache and WordPress object cache. Scores update after content changes are processed.
Performance Optimization
Q: Site slowing down during optimization
A: Enable maintenance mode during bulk operations. Schedule optimizations during low-traffic periods.
Q: Memory limit errors
A: Increase PHP memory limit to 512MB minimum. Contact hosting provider if needed.
Q: Database queries timing out
A: Optimize WordPress database and enable query caching. Consider dedicated hosting for large sites.
For additional support, check the skill documentation at https://github.com/ncreighton/empire-skills or contact the ClawHub community.
WordPress SEO 自动优化系统
通过全面的自动化功能,将您的WordPress网站打造成SEO强力引擎。本技能涵盖从元标签优化、结构化数据标记生成到内部链接策略和RankMath集成的全方位功能,无需手动操作即可实现企业级SEO效果。
概述
WordPress SEO自动优化系统消除了手动优化WordPress网站搜索引擎的繁琐工作。它直接与您的WordPress REST API、RankMath SEO插件、Google Search Console及其他核心SEO工具集成,提供以下功能:
- - 自动化元数据优化:生成引人注目的标题、描述和Open Graph标签
- 结构化数据标记生成:为文章、产品、活动和本地企业创建结构化数据
- 内部链接策略:识别并实施战略性内部链接机会
- 内容分析:执行关键词密度分析和可读性评分
- 技术SEO审计:检查网站速度、移动端友好性和可抓取性问题
- RankMath集成:与RankMath Pro同步,实现高级SEO功能
- 批量操作:在自动化工作流中处理数百篇文章/页面
适用于管理多个网站或大型内容库的代理机构、内容营销人员和WordPress开发者。
快速入门
使用以下示例提示立即开始:
审计我的WordPress网站example.com,生成包含可操作建议的完整SEO报告
优化过去30天内发布的所有博客文章的元标签,重点提升点击率
为我的WooCommerce产品页面创建结构化数据标记,并在相关产品之间实施内部链接
分析我在Google Search Console中的前20个页面,建议标题/描述改进以提升排名
为新的博客文章设置自动化SEO工作流,包括元数据优化、结构化数据生成和内部链接
功能
元标签优化
- - 智能标题生成:创建60个字符以内、关键词优化且具有吸引力的标题
- 描述撰写:生成包含清晰行动号召和关键词布局的元描述
- Open Graph与Twitter卡片:通过正确的OG标签优化社交媒体分享
- 批量处理:以一致的格式同时更新数百篇文章
结构化数据标记与结构化数据
- - 文章结构化数据:为博客文章和新闻文章实施正确的结构化数据
- 产品结构化数据:通过丰富摘要增强WooCommerce产品
- 本地企业结构化数据:优化基于位置的企业以提升本地搜索效果
- 常见问题与操作指南结构化数据:为信息性内容创建结构化数据
- 评论结构化数据:实施星级评分和评论标记
内部链接策略
- - 上下文链接发现:使用语义分析识别相关的内部链接机会
- 锚文本优化:建议自然、关键词丰富的锚文本变体
- 链接权重分配:平衡内部链接流向以提升重要页面
- 自动化实施:直接将内部链接插入文章内容
技术SEO分析
- - 核心网页指标监控:跟踪LCP、FID和CLS指标
- 移动优先索引:确保符合移动优化要求
- 可抓取性评估:识别被阻止的资源和抓取错误
- 网站速度分析:提供具体的性能改进建议
RankMath集成
- - 评分优化:自动提升RankMath SEO评分
- 关键词追踪:与RankMath的排名追踪功能同步
- 内容分析:利用RankMath的内容AI获取优化建议
- 结构化数据同步:与RankMath设置协调结构化数据标记
配置
必需的环境变量
bash
WORDPRESS_URL=https://yoursite.com
WORDPRESSUSERNAME=youradmin_username
WORDPRESSAPPPASSWORD=yourapppassword
RANKMATHAPIKEY=yourrankmathapi_key
可选配置
bash
GOOGLESEARCHCONSOLE_KEY=path/to/service-account.json
SEMRUSHAPIKEY=yoursemrushkey
AHREFSAPITOKEN=yourahrefstoken
WordPress设置
- 1. 安装WordPress应用程序密码插件(或使用WordPress 5.6+)
- 生成应用程序密码:用户 → 个人资料 → 应用程序密码
- 安装RankMath SEO插件(免费版或专业版)
- 启用WordPress REST API(通常默认启用)
RankMath配置
- 1. 安装RankMath SEO插件
- 使用目标关键词完成设置向导
- 在RankMath → 常规设置 → API中启用API访问
- 将API密钥复制到环境变量中
示例输出
SEO审计报告
📊 WordPress SEO审计 - example.com
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 优先问题(优先修复)
• 47个页面缺少元描述
• 23张图片缺少替代文本
• 12篇文章标题超过60个字符
• 产品页面缺少结构化数据标记
📈 优化机会
• 内部链接:发现156个新的链接机会
• 页面速度:平均加载时间3.2秒(目标:<2秒)
• 移动端可用性:发现5个问题
🔧 可用的自动化修复
✅ 为47个页面生成元描述
✅ 优化23个标题标签以提升点击率
✅ 为产品实施结构化数据标记
✅ 添加89个战略性内部链接
元标签优化
🏷️ 元标签已优化 - WordPress SEO终极指南
旧标题:WordPress SEO技巧与窍门,提升排名
新标题:WordPress SEO指南:47个经过验证的技巧,助您排名第一(2024)
旧描述:了解WordPress SEO以及如何提升排名
新描述:通过我们的完整指南掌握WordPress SEO。47个专家技巧、工具和策略,在2024年提升排名、流量和转化率。
📊 改进情况
• 标题长度:67 → 52个字符 ✅
• 描述长度:58 → 156个字符 ✅
• 焦点关键词密度:0.8% → 1.2% ✅
• 可读性评分:67 → 78 ✅
技巧与最佳实践
内容优化策略
- - 关注用户意图:针对用户实际搜索的内容进行优化,而不仅仅是关键词
- 长尾机会:针对特定、竞争较低的关键词短语,快速取得成效
- 内容集群:创建包含支柱页面和支持性内容的主题集群
- 更新频率:定期刷新旧内容以保持搜索可见性
技术SEO优先级
- - 核心网页指标优先:优先考虑页面速度和用户体验指标
- 移动端优化:确保所有页面通过Google的移动端友好测试
- 结构化数据实施:从文章/产品结构化数据开始,然后扩展到更具体的类型
- 内部链接:每1000字内容中设置3-5个内部链接
RankMath优化
- - 目标评分80+:确保所有重要页面达到绿色评分
- 多个关键词:每页面优化2-3个相关关键词
- 内容AI:使用RankMath的内容建议进行竞争分析
- 排名追踪:监控关键词位置并相应调整策略
自动化工作流
- - 新内容流程:为新文章设置自动元数据生成和结构化数据标记
- 月度审计:安排全面的SEO审计,及早发现问题
- 竞争对手监控:跟踪竞争对手的关键词排名和内容策略
- 性能警报:设置排名下降或技术问题的通知
安全与防护
内容边界
- - 禁止关键词堆砌:保持自然的关键词密度在0.5-2%之间
- 品牌语调保留:适应您现有的内容风格和语气
- 需要人工审核:标记重大更改以供人工批准
- 创建备份:在进行批量更改前始终创建备份
技术限制
- - 速率限制:尊重WordPress API限制,防止服务器过载
- 插件兼容性:检查与现有SEO插件的冲突
- 主题限制:某些结构化数据实施可能需要主题修改
- 服务器资源:大型网站可能需要分批处理
数据隐私
- - 不存储内容:处理内容时不存储在外部服务器上
- API安全:使用加密连接和安全认证
- GDPR合规:尊重隐私设置和Cookie同意
- 本地处理:敏感操作尽可能在本地执行
质量保证
- - 人工监督:建议对关键页面进行人工审核
- A/B测试:建议先在不太重要的页面上测试元标签更改
- 回滚能力:维护版本历史,便于轻松回滚
- 性能监控:跟踪更改对网站性能的影响
故障排除
常见WordPress问题
问:出现REST API已禁用错误
答:在WordPress管理后台 → 设置 → 固定链接 → 保存更改中启用REST API。某些安全插件会阻止REST API访问。
问:应用程序密码认证失败
答:确保WordPress版本为5.6+或安装应用程序密码插件。在wp-admin中检查用户名/密码组合。
问:批量操作超时
答:在配置中