ForestSEO

WordPress Integration

Connect your WordPress site to Forest SEO for automated content publishing using REST API and application passwords.

Connect your WordPress site to Forest SEO for automated content publishingβ€”the most popular CMS integration with full feature support.


βœ… Prerequisites

Before starting, ensure you have:

RequirementMinimum VersionNotes
WordPress5.6+For Application Passwords
Access LevelAdministratorRequired for integration setup
HostingAnySelf-hosted or WordPress.com Business+
SSLRecommendedHTTPS for secure connection
REST APIEnabledUsually enabled by default

πŸš€ Setup Process

Application Passwords are the most secure and WordPress-native authentication method.

Step 1: Generate Application Password

  1. Login to WordPress

    • Navigate to your WordPress admin dashboard
    • URL: https://yourdomain.com/wp-admin
  2. Access Your Profile

    • Go to Users β†’ Profile (or click your name in top-right)
    • Scroll down to Application Passwords section
  3. Create Password

    • Enter name: Forest SEO
    • Click Add New Application Password
    • ⚠️ Copy the password immediately β€” it won't be shown again

πŸ’‘ Pro Tip

Save the application password in a secure location (password manager). If you lose it, you'll need to generate a new one.

Step 2: Connect in Forest SEO

  1. Navigate to Integrations

    • Go to Project Settings β†’ Integrations
    • Click Add Integration button
  2. Select WordPress

    • Choose WordPress from the platform list
  3. Enter Connection Details

    FieldExampleDescription
    Site URLhttps://yourdomain.comYour WordPress site URL (no trailing slash)
    UsernameadminYour WordPress username
    Application Passwordxxxx xxxx xxxx xxxxThe password you copied (spaces are OK)
  4. Test & Save

    • Click Test Connection
    • Wait for βœ… Connection Successful
    • Click Save Integration

βš™οΈ Configuration Options

Publishing Settings

Configure how content is created on your WordPress site:

SettingOptionsDefaultPurpose
πŸ“Š Post StatusDraft, Pending, PublishedPublishedControl visibility immediately
πŸ“ Post TypePost, Page, CustomPostStandard blog posts
✍️ Default AuthorAny WordPress userAdminAttribution for articles
πŸ“ Default CategoryAny categoryUncategorizedFallback organization
🏷️ Auto TagsEnabled/DisabledEnabledUse keywords as tags

Content Mapping

Forest SEO automatically maps content fields to WordPress:

Forest SEO FieldWordPress FieldNotes
Titlepost_titleArticle headline
Contentpost_contentFull article body (HTML)
Excerptpost_excerptAuto-generated summary
Slugpost_nameURL-friendly identifier
Featured Image_thumbnail_idFirst image or specified
Categoriespost_categoryMultiple categories supported
Tagstags_inputFrom keywords + custom

πŸ”Œ SEO Plugin Integration

Forest SEO works seamlessly with popular WordPress SEO plugins:

Yoast SEO

Forest SEO FieldYoast Meta FieldPurpose
Meta Title_yoast_wpseo_titleSEO title tag
Meta Description_yoast_wpseo_metadescSearch snippet
Focus Keyword_yoast_wpseo_focuskwPrimary keyword
Canonical URL_yoast_wpseo_canonicalDuplicate control

RankMath SEO

Forest SEO FieldRankMath Meta FieldPurpose
Meta Titlerank_math_titleSEO title tag
Meta Descriptionrank_math_descriptionSearch snippet
Focus Keywordrank_math_focus_keywordPrimary keyword

All in One SEO (AIOSEO)

Forest SEO FieldAIOSEO Meta FieldPurpose
Meta Title_aioseo_titleSEO title tag
Meta Description_aioseo_descriptionSearch snippet

🎯 Publishing Workflow

Publishing Options

ModeBehaviorBest For
πŸ€– Auto-PublishArticles publish immediately after approvalHigh-volume content workflows
πŸ‘€ ManualReview then click publish per articleQuality-focused workflows
⏰ ScheduledQueue for specific date/timeContent calendar management

πŸ” Troubleshooting

Common Issues & Solutions

IssueCauseSolution
πŸ”΄ Authentication FailedInvalid credentials or expired passwordRegenerate application password and reconnect
πŸ”΄ Permission ErrorUser lacks publish permissionsUse admin account or grant publish_posts capability
🟑 Media Upload FailsFile size limits or permissionsIncrease upload_max_filesize in php.ini
🟑 Slow PublishingServer resource limitsContact host to increase PHP memory/execution time
πŸ”΄ REST API DisabledSecurity plugin blocking APIWhitelist Forest SEO IP or disable REST API blocks
🟑 Missing CategoriesCategories don't existCreate categories in WordPress first

REST API Verification

Test if your WordPress REST API is accessible:

  1. Visit: https://yourdomain.com/wp-json
  2. Expected: JSON response with API routes
  3. If blocked: Check security plugins (Wordfence, iThemes Security, etc.)

πŸ”’ Security Plugin Note

Some security plugins block REST API access by default. You may need to whitelist Forest SEO's IP addresses or add an exception for authenticated requests.

Debug Mode

Enable detailed error logging:

  1. Go to Integration Settings
  2. Enable Debug Mode
  3. Attempt publishing
  4. Check Activity Log for detailed errors
  5. Share logs with support if needed

βœ… Best Practices

For Optimal Results

PracticeBenefitPriority
πŸ”’ Use Application PasswordsMost secure native methodπŸ”΄ Critical
✍️ Set Default AuthorProper attribution🟑 Important
πŸ“ Configure CategoriesBetter organization🟑 Important
πŸ§ͺ Test with Draft FirstVerify before going liveπŸ”΄ Critical
πŸ“Š Monitor First WeekCatch issues early🟑 Important

WordPress Optimization

Optimize your WordPress site for integration:

  1. βœ… Use Caching Plugin β€” WP Rocket, W3 Total Cache
  2. βœ… Optimize Database β€” Regular cleanup with WP-Optimize
  3. βœ… Update WordPress β€” Keep to latest version
  4. βœ… Quality Hosting β€” Adequate resources for API calls
  5. βœ… CDN for Media β€” Cloudflare or similar for images

πŸš€ Advanced Features

Custom Post Types

Publish to custom post types:

// In your theme's functions.php or plugin
add_post_type_support( 'your_custom_post_type', 'forest-seo' );

Custom Field Mapping

Map Forest SEO fields to custom fields:

Forest SEO FieldCustom FieldUse Case
Reading Time_reading_timeDisplay estimated reading time
Word Count_word_countShow article length
AI Generated_ai_generatedTrack content source

Webhook Notifications

Receive notifications when content publishes:

  1. Install WP Webhooks plugin
  2. Configure webhook URL in Forest SEO
  3. Get real-time publish notifications

πŸ“ˆ Performance Tips

Batch Publishing

For publishing multiple articles:

Batch SizeSpeedResource Usage
1-5 articlesFastLow
5-10 articlesMediumMedium
10+ articlesSlowerHigh

Recommendation: Batch 5-10 articles at a time for optimal balance.

Hosting Requirements

For smooth integration:

ResourceMinimumRecommendedHeavy Usage
PHP Memory128 MB256 MB512 MB
Execution Time30s60s120s
Upload Size10 MB20 MB50 MB
REST APIEnabledEnabledEnabled

πŸ“š Next Steps

Ready to start publishing?