WordPress will not connect
How to connect WordPress with an application password, and what each connection error means and how to fix it.
In short
Mented connects to WordPress with your WordPress username and an application password, not your normal password. Most problems come from a wrong or old application password, an account that cannot write posts, or a security plugin that blocks WordPress's REST API.
Connect WordPress
- Create an application password. In your WordPress admin, open Users, then Profile. Scroll to Application Passwords, type a name such as Mented, and click Add New Application Password. Copy the password WordPress shows.
- Open Integrations in Mented's sidebar and find the WordPress card. You need to be a workspace owner.
- Fill in the details. Site address (for example https://yoursite.com), WordPress username, and the Application password you copied. Spaces in it do not matter.
- Choose the default under When you publish an article: Save it as a draft in WordPress or Publish it straight away.
- Click Connect WordPress, then Test connection. You should see "Connected as" and your WordPress name.
Your site needs to use https. The account must be able to write posts: Author, Editor or Administrator.
Errors and fixes
| You see | What it means | What to do |
|---|---|---|
| WordPress did not accept that username and application password | The username or application password is wrong, or the password was revoked | Create a new application password and paste it again, with your WordPress username. |
| WordPress refused the request. A security plugin or the host may be blocking the REST API or application passwords | Something on your site blocks outside requests | In your security plugin (or ask your host), allow the REST API and application passwords. |
| This WordPress account is not allowed to write posts | The account is a Subscriber or Contributor | Use an account with the Author, Editor or Administrator role. |
| We could not find the WordPress REST API at that address | Wrong address, not a WordPress site, or the REST API is switched off | Check the address. If it is right, ask your developer whether the REST API is disabled. |
| The site redirects to another address | Your site moved, or uses www | Enter the address it redirects to. |
| The address must start with https:// | Your site has no secure connection | Ask your host to switch on HTTPS. |
| The site took too long to answer / We could not reach the site | The site was down or slow | Try again in a minute. |
Still not working?
- Not on WordPress? You do not need the integration. On any article, click Copy HTML or Download .md and paste it into your own site.
- To start over, click Disconnect, confirm with Yes, disconnect, and connect again with a fresh application password.
Email us with the exact message you see and we will help.