Connecting WordPress
Integrate WordPress sites with af-gemini-connect
Overview
Connecting WordPress enables powerful content automation and management:
- Content editing via MCP commands
- Automated blogging with the AI blogger
- SEO optimization tools
- Performance monitoring
- Content scheduling
This guide covers installing the MCP plugin and configuring the connection.
Prerequisites
Before you begin, ensure you have:
- WordPress site (self-hosted, version 5.0+)
- Admin credentials for the WordPress dashboard
- FTP or file manager access (for manual plugin installation)
- af-gemini-connect account with integration permissions
Step-by-Step Connection
1. Install the MCP Plugin
There are two installation methods:
A. Automatic Installation (Recommended)
- In af-gemini-connect, go to Admin → Integrations
- Select WordPress tab
- Click Install Plugin Automatically
- Enter your WordPress site URL and admin credentials
- The plugin will be installed and activated automatically
B. Manual Installation
- Download the MCP WordPress plugin from the GitHub releases page
- In your WordPress dashboard, go to Plugins → Add New
- Click Upload Plugin
- Upload the downloaded ZIP file
- Activate the plugin
2. Configure the MCP Plugin
- In WordPress, go to Settings → MCP Configuration
- Enter your af-gemini-connect API key (found in your account settings)
- Configure the following options:
- Enable Content Editing: Allow AI to edit posts/pages
- Enable Blogging: Enable automated blog post creation
- SEO Tools: Enable AI-powered SEO suggestions
- Performance Monitoring: Enable site speed monitoring
- Click Save Settings
3. Connect in af-gemini-connect
- In af-gemini-connect, go to Admin → Integrations
- Select WordPress tab
- Click Connect WordPress Site
- Enter your WordPress site URL
- Click Connect
4. Authorize the Connection
- You'll be redirected to your WordPress login screen
- Log in with admin credentials
- Approve the connection permissions
- You'll be redirected back to af-gemini-connect
Connection Health Monitoring
Once connected, monitor your WordPress integration in the Integrations dashboard:
- Connection Status: Connected/Disconnected
- Last Sync: When content was last synchronized
- Plugin Version: Ensure you're running the latest version
- Error Logs: Any plugin errors or connection issues
Troubleshooting
"Plugin not found" error during automatic installation
- Verify your WordPress URL is correct
- Ensure your site is publicly accessible
- Check that the site is running WordPress 5.0 or higher
- Try manual installation instead
Authentication failures
- Verify your WordPress admin credentials
- Ensure the MCP plugin is activated
- Check that your af-gemini-connect API key is valid
Content not syncing
- Verify the plugin is activated and configured
- Check your API key permissions
- Ensure the connection is active in af-gemini-connect
Plugin conflicts
- Deactivate other plugins temporarily to identify conflicts
- Ensure you're using the latest plugin version
- Check PHP version compatibility (requires PHP 7.4+)
Best Practices
- Keep the plugin updated to ensure compatibility and security
- Use a staging site for testing before connecting production sites
- Set up proper user roles to control AI access levels
- Monitor plugin performance to avoid slowing down your site
- Regular backups before major updates or configuration changes
Next Steps
After connecting WordPress, you can:
- Set up automated content calendars
- Configure AI blogging workflows
- Implement SEO optimization routines
- Set up performance monitoring alerts
- Integrate with Google Search Console
FAQ
Q: Can I connect multiple WordPress sites?
A: Yes, you can connect unlimited WordPress sites from a single af-gemini-connect account.
Q: Does the plugin work with multisite networks?
A: Yes, but each site needs to be connected individually.
Q: Is content edited by the AI automatically published?
A: No, all AI edits require manual approval before publication.
Q: What happens if I disconnect a site?
A: Disconnecting will stop all synchronization and AI editing capabilities.
Q: Can I use the plugin with WordPress.com?
A: No, the plugin requires a self-hosted WordPress.org installation.
