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:
| Requirement | Minimum Version | Notes |
|---|---|---|
| WordPress | 5.6+ | For Application Passwords |
| Access Level | Administrator | Required for integration setup |
| Hosting | Any | Self-hosted or WordPress.com Business+ |
| SSL | Recommended | HTTPS for secure connection |
| REST API | Enabled | Usually enabled by default |
π Setup Process
Method 1: Application Password β Recommended
Application Passwords are the most secure and WordPress-native authentication method.
Step 1: Generate Application Password
-
Login to WordPress
- Navigate to your WordPress admin dashboard
- URL:
https://yourdomain.com/wp-admin
-
Access Your Profile
- Go to Users β Profile (or click your name in top-right)
- Scroll down to Application Passwords section
-
Create Password
- Enter name:
Forest SEO - Click Add New Application Password
- β οΈ Copy the password immediately β it won't be shown again
- Enter name:
π‘ 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
-
Navigate to Integrations
- Go to Project Settings β Integrations
- Click Add Integration button
-
Select WordPress
- Choose WordPress from the platform list
-
Enter Connection Details
Field Example Description Site URL https://yourdomain.comYour WordPress site URL (no trailing slash) Username adminYour WordPress username Application Password xxxx xxxx xxxx xxxxThe password you copied (spaces are OK) -
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:
| Setting | Options | Default | Purpose |
|---|---|---|---|
| π Post Status | Draft, Pending, Published | Published | Control visibility immediately |
| π Post Type | Post, Page, Custom | Post | Standard blog posts |
| βοΈ Default Author | Any WordPress user | Admin | Attribution for articles |
| π Default Category | Any category | Uncategorized | Fallback organization |
| π·οΈ Auto Tags | Enabled/Disabled | Enabled | Use keywords as tags |
Content Mapping
Forest SEO automatically maps content fields to WordPress:
| Forest SEO Field | WordPress Field | Notes |
|---|---|---|
| Title | post_title | Article headline |
| Content | post_content | Full article body (HTML) |
| Excerpt | post_excerpt | Auto-generated summary |
| Slug | post_name | URL-friendly identifier |
| Featured Image | _thumbnail_id | First image or specified |
| Categories | post_category | Multiple categories supported |
| Tags | tags_input | From keywords + custom |
π SEO Plugin Integration
Forest SEO works seamlessly with popular WordPress SEO plugins:
Yoast SEO
| Forest SEO Field | Yoast Meta Field | Purpose |
|---|---|---|
| Meta Title | _yoast_wpseo_title | SEO title tag |
| Meta Description | _yoast_wpseo_metadesc | Search snippet |
| Focus Keyword | _yoast_wpseo_focuskw | Primary keyword |
| Canonical URL | _yoast_wpseo_canonical | Duplicate control |
RankMath SEO
| Forest SEO Field | RankMath Meta Field | Purpose |
|---|---|---|
| Meta Title | rank_math_title | SEO title tag |
| Meta Description | rank_math_description | Search snippet |
| Focus Keyword | rank_math_focus_keyword | Primary keyword |
All in One SEO (AIOSEO)
| Forest SEO Field | AIOSEO Meta Field | Purpose |
|---|---|---|
| Meta Title | _aioseo_title | SEO title tag |
| Meta Description | _aioseo_description | Search snippet |
π― Publishing Workflow
Publishing Options
| Mode | Behavior | Best For |
|---|---|---|
| π€ Auto-Publish | Articles publish immediately after approval | High-volume content workflows |
| π€ Manual | Review then click publish per article | Quality-focused workflows |
| β° Scheduled | Queue for specific date/time | Content calendar management |
π Troubleshooting
Common Issues & Solutions
| Issue | Cause | Solution |
|---|---|---|
| π΄ Authentication Failed | Invalid credentials or expired password | Regenerate application password and reconnect |
| π΄ Permission Error | User lacks publish permissions | Use admin account or grant publish_posts capability |
| π‘ Media Upload Fails | File size limits or permissions | Increase upload_max_filesize in php.ini |
| π‘ Slow Publishing | Server resource limits | Contact host to increase PHP memory/execution time |
| π΄ REST API Disabled | Security plugin blocking API | Whitelist Forest SEO IP or disable REST API blocks |
| π‘ Missing Categories | Categories don't exist | Create categories in WordPress first |
REST API Verification
Test if your WordPress REST API is accessible:
- Visit:
https://yourdomain.com/wp-json - Expected: JSON response with API routes
- 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:
- Go to Integration Settings
- Enable Debug Mode
- Attempt publishing
- Check Activity Log for detailed errors
- Share logs with support if needed
β Best Practices
For Optimal Results
| Practice | Benefit | Priority |
|---|---|---|
| π Use Application Passwords | Most secure native method | π΄ Critical |
| βοΈ Set Default Author | Proper attribution | π‘ Important |
| π Configure Categories | Better organization | π‘ Important |
| π§ͺ Test with Draft First | Verify before going live | π΄ Critical |
| π Monitor First Week | Catch issues early | π‘ Important |
WordPress Optimization
Optimize your WordPress site for integration:
- β Use Caching Plugin β WP Rocket, W3 Total Cache
- β Optimize Database β Regular cleanup with WP-Optimize
- β Update WordPress β Keep to latest version
- β Quality Hosting β Adequate resources for API calls
- β 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 Field | Custom Field | Use Case |
|---|---|---|
| Reading Time | _reading_time | Display estimated reading time |
| Word Count | _word_count | Show article length |
| AI Generated | _ai_generated | Track content source |
Webhook Notifications
Receive notifications when content publishes:
- Install WP Webhooks plugin
- Configure webhook URL in Forest SEO
- Get real-time publish notifications
π Performance Tips
Batch Publishing
For publishing multiple articles:
| Batch Size | Speed | Resource Usage |
|---|---|---|
| 1-5 articles | Fast | Low |
| 5-10 articles | Medium | Medium |
| 10+ articles | Slower | High |
Recommendation: Batch 5-10 articles at a time for optimal balance.
Hosting Requirements
For smooth integration:
| Resource | Minimum | Recommended | Heavy Usage |
|---|---|---|---|
| PHP Memory | 128 MB | 256 MB | 512 MB |
| Execution Time | 30s | 60s | 120s |
| Upload Size | 10 MB | 20 MB | 50 MB |
| REST API | Enabled | Enabled | Enabled |
π Next Steps
Ready to start publishing?
π€ Related Documentation
- Integrations Overview β β All available integrations
- Content Generation β β Learn about content creation
- SEO Best Practices β β Optimize your content strategy