Help center / Publishing & integrations

WordPress

Connect a WordPress site so RankYak publishes articles for you, live or as drafts.

Updated

The WordPress integration lets RankYak publish articles directly to your WordPress site. Once connected, every new article is posted automatically, either live or as a draft for your review. Typically, you connect by approving RankYak once in your WordPress admin. You may also connect with the official RankYak plugin, or with an application password that you create yourself. All three end in the same place.

Connecting with one approval

This is the path you should reach for first, because there is no password to copy.

  1. Go to Settings, then Integrations, and click Connect next to WordPress.
  2. Click Connect with WordPress. A window opens on the WordPress admin of your site.
  3. Sign in to WordPress if it asks you to, then click Yes, I approve of this connection.

The window then confirms the connection, and RankYak shows the site as connected. WordPress keeps the access it gave RankYak as an application password named "RankYak" on your WordPress user. Each approval creates one such password, even when the connection fails afterwards. So, you may remove the ones you no longer use in your WordPress admin, under Users, then Profile, in Application Passwords.

RankYak connects only the WordPress site on your own domain, or on its www spelling. If you decline, or if the approval comes from another domain, RankYak tells you why and connects nothing. However, if your WordPress lives under a path such as /blog, or on a subdomain, the approval cannot reach it, so you should connect with an application password instead.

Sometimes RankYak tells you that your site doesn't allow application passwords. WordPress turns them off when a security plugin disables them, when a password protects the whole site, or when the site has no HTTPS. The plugin and the manual connection need application passwords too. So, you should turn them back on in the security plugin, remove the password that protects the site, or serve the site over HTTPS, then connect again.

Connecting with the plugin

Sometimes you may wish to connect through the official RankYak plugin, which configures the connection from your WordPress admin.

  1. In your WordPress admin, go to Plugins, then Add Plugin.
  2. Search for RankYak, install the plugin, and activate it.
  3. On the setup page that opens, click Connect RankYak.
  4. In the popup, select the RankYak site you would like to connect, and confirm.

The plugin configures the connection automatically. Of course, you may also download the plugin from the WordPress plugin directory and upload it manually.

Connecting manually

If you would like to create the application password yourself, you may connect manually. RankYak then authenticates with the password you paste.

First, generate the password in WordPress:

  1. Go to Users, then Profile.
  2. Scroll to Application Passwords.
  3. Enter a name, for example "RankYak", and click Add Application Password.
  4. Copy the generated password; WordPress shows it only once.

Then, connect the site in RankYak:

  1. Go to Settings, then Integrations, and click Connect next to WordPress.
  2. Choose to connect with an application password.
  3. Verify the prefilled Site URL, fill in your WordPress username, and paste the application password.
  4. Click Connect.

Replacing the application password

If you revoke the application password, or the WordPress user it belongs to loses access, publishing fails until RankYak has new credentials. Generate a new application password as described above. Then open Settings, then Integrations, click Edit settings next to the WordPress connection, click Replace password, and enter the username and the new password. RankYak tests the new password before it saves it. If WordPress doesn't accept it, RankYak keeps the old one and shows the reason under the password field.

Sometimes WordPress stops accepting RankYak's login while the application password still exists. Typically, a security plugin turns off application passwords, or your host drops the Authorization header that carries the login. WordPress then handles each request from RankYak as a visitor who is not logged in, and RankYak reports that WordPress didn't accept its login. So, you should first reconnect your site. You may click Disconnect next to the WordPress connection under Settings, then Integrations, and connect again in one of the ways above, or replace the application password as described above. Then publish the article again. If the publish fails with the same message, look in your security plugins for a setting that disables application passwords, and ask your host to pass the Authorization header on to WordPress.

Publishing as drafts

If you would like to review each article before it goes live, you may tell RankYak to create drafts instead of publishing directly.

  1. Open your site's Settings, then Integrations.
  2. Click Edit settings next to the WordPress connection.
  3. Choose Save as draft.

New articles now appear in WordPress as drafts, so you may read, edit, or schedule them on your own terms before publishing. Of course, when you connect the site from RankYak, these settings open right after the connection, so you may choose drafts at that moment.

Editing in WordPress

RankYak sends each article as HTML, so the block editor opens the post as a single Classic block. You may edit the post in that block, or convert it with Convert to blocks in the block toolbar if you would like to edit each paragraph as its own block.

Default categories and tags

In the same integration settings, you may choose default categories and tags. RankYak applies them to every article it publishes, so your posts land in the right place in your site's structure without manual sorting.

Disconnecting

To stop publishing to WordPress, go to Settings, then Integrations, and click Disconnect next to the WordPress connection. Publishing stops immediately; articles already on your site are not affected.

Still need help?

Ask the copilot inside RankYak for an instant answer about your own account, or send us an email and a human will get back to you.