WordPress Connection Errors
Table of Contents
Error 401 Unauthorized
Cause: incorrect username or Application Password.
Fix: create a new Application Password in Users → Profile → Application Passwords. Copy it immediately after creation — it's only shown once.
Error 403 Forbidden
Cause: user doesn't have publishing rights.
Fix: use an account with the Editor or Administrator role.
Error 404 Not Found
Cause: REST API is disabled or the site URL is wrong.
Fix: check that https://yoursite.com/wp-json/wp/v2/posts opens in a browser and returns JSON. Reset permalinks: Settings → Permalinks → Save.
SSL Error
Cause: self-signed SSL certificate.
Fix: install a valid SSL certificate (Let's Encrypt). AI SEO Writer does not support self-signed certificates.
REST API Blocked by a Security Plugin
Cause: plugins like Wordfence, iThemes Security, All-In-One WP Security, or Shield Security can block the REST API or require additional authentication.
Fix:
- Wordfence: Wordfence → Firewall → Manage Firewall → make sure REST API is not blocked. Whitelist the AI SEO Writer server IP.
- iThemes Security: Security → Settings → disable "Restrict REST API" or add an exception for authenticated requests.
- General: temporarily deactivate all security plugins and test the connection. If it works — re-enable them one by one to find the culprit.
Application Passwords Not Available
Cause: Application Passwords are disabled by a plugin or your hosting provider.
Fix: check that the "Application Passwords" section is visible in the WordPress user profile. If it's missing, your host or a security plugin has disabled the feature — contact your host or check security plugin settings.
In this section
Was this article helpful?