Troubleshooting

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

  1. 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.
  2. Open Integrations in Mented's sidebar and find the WordPress card. You need to be a workspace owner.
  3. 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.
  4. Choose the default under When you publish an article: Save it as a draft in WordPress or Publish it straight away.
  5. 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 seeWhat it meansWhat to do
WordPress did not accept that username and application passwordThe username or application password is wrong, or the password was revokedCreate 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 passwordsSomething on your site blocks outside requestsIn your security plugin (or ask your host), allow the REST API and application passwords.
This WordPress account is not allowed to write postsThe account is a Subscriber or ContributorUse an account with the Author, Editor or Administrator role.
We could not find the WordPress REST API at that addressWrong address, not a WordPress site, or the REST API is switched offCheck the address. If it is right, ask your developer whether the REST API is disabled.
The site redirects to another addressYour site moved, or uses wwwEnter the address it redirects to.
The address must start with https://Your site has no secure connectionAsk your host to switch on HTTPS.
The site took too long to answer / We could not reach the siteThe site was down or slowTry 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.

What to do next

Need a hand?

Ask us anything.

Email hello@trymented.com with your website and what you see on screen, and we will help you sort it out.