Skip to main content

Connecting to WordPress

Machined lets you connect to unlimited WordPress sites to publish content directly.

Connections are configured at the project level — go to Project Settings → Integrations and click Add Connection next to WordPress.

Integrations page showing WordPress, Webflow, and Webhooks

Connection methods

There are two ways to connect:

Connect WordPress modal showing Automatic and Manual options

Connecting Automatically

Select Automatic and enter your WordPress site URL. This opens a browser window to your WordPress site where you approve the connection — no credentials needed.

Connecting Manually

Select Manual and enter your credentials.

Manual connection form with URL, username, and application password fields

  • WordPress URL — your site's domain (e.g. https://your-site.com)
  • Username — your WordPress username (not the application password name)
  • Application Password — generated in the next step

Create an Application Password

  1. Log into WordPress as an admin
  2. Go to Users → Profile

WordPress sidebar showing Users → Profile navigation

  1. Scroll down to the Application Passwords section

Application Passwords section in WordPress

  1. Enter "machined" as the name and click Add New Application Password

Application password name field with "machined" entered

  1. Copy the generated password immediately — it won't be shown again

Generated application password

Paste the password into Machined and click Connect.

Troubleshooting

WordFence users

If you have WordFence installed, disable these two settings:

  • Disable WordPress application passwords
  • Block IPs who send POST requests with blank User-Agent and Referer

WP REST API returns 401

A 401 error indicates an authentication problem.

  • Check your credentials are correct
  • The username must be your WordPress username, not the application password name
  • The application password may have been revoked — check in WordPress
  • If WordFence is enabled, configure it as above

WP REST API returns 404

A 404 error means the REST API endpoint can't be found.

  • Change permalink settings to Post name — see this Stack Overflow thread
  • If you're on Hostinger, disable the Hostinger AI and Hostinger Easy Onboarding plugins

WP REST API returns 403

A 403 error means access is forbidden.

Cloudflare: If the error includes rayId or challenge, Cloudflare is blocking the request.

JWT Authentication: If the error includes jwt_auth_bad_auth_header, you have JWT authentication installed.

  • Remove the JWT Authentication plugin

WPEngine: This can be caused by their legacy network configuration.