Connecting WordPress
Connect your WordPress site to Yohaku so you can publish generated Japanese SEO articles directly to your blog using the WordPress REST API.
Prerequisites
- A self-hosted WordPress site (WordPress.com Business plan or higher also works)
- WordPress 5.6 or later (for built-in Application Passwords support)
- Admin access to your WordPress site
- The WordPress REST API must be enabled (it is enabled by default)
Setup Steps
Verify Application Passwords support
WordPress 5.6+ includes Application Passwords natively. If you are running an older version, install the Application Passwords plugin from the WordPress plugin directory.
Go to Users → Your Profile → Application Passwords
In your WordPress admin, navigate to Users → Profile. Scroll down to the Application Passwords section.
Create a new application password
Enter "Yohaku" as the application name and click "Add New Application Password". WordPress will display a password like:
Copy this password immediately — it will only be shown once. Spaces are optional; you can include or omit them.
Enter credentials in Yohaku
In your Yohaku dashboard, go to Integrations → WordPress and fill in:
- Site URL: https://your-site.com (no trailing slash)
- Username: your WordPress admin username
- Application Password: the password from step 3
Click "Test Connection"
Yohaku will verify your credentials by making a test request to your-site.com/wp-json/wp/v2/posts. If successful, you'll see a green confirmation message.
Troubleshooting
REST API is disabled
Some security plugins (like iThemes Security or Wordfence) disable the REST API by default. Check your security plugin settings and ensure the REST API is allowed for authenticated users. You can test by visiting your-site.com/wp-json/wp/v2/posts in your browser.
"401 Unauthorized" or authentication errors
Verify that your username is correct (not your email, unless your site uses email login). Make sure the application password was copied correctly. If your site uses a non-standard permalink structure, try setting it to "Post name" under Settings → Permalinks.
"Application Passwords" section not visible
Application Passwords require HTTPS. If your site is still on HTTP, either switch to HTTPS or add this line to your wp-config.php:
This is a workaround for development only. In production, always use HTTPS.
Connection timeout
Ensure your site URL is correct and the site is publicly accessible. If your site is behind a firewall or on a local network, Yohaku will not be able to reach it.
Need more help? Contact us at support@yohaku-seo.com.