Help center / WordPress and the Connector
Help center
WordPress and the Ruvma Connector
Ruvma changes WordPress sites through the Ruvma Connector, a plugin you install on each client's site. It makes each change on a private preview first, and publishes only what your team approves.
What the site needs
- WordPress 6.4 or later, on PHP 7.4 or later.
- HTTPS.
- Application Passwords, a part of WordPress that some security plugins and hosts turn off. WordPress also keeps them off when it doesn't see the site as HTTPS, as behind Cloudflare with SSL/TLS set to Flexible: set it to Full (strict). The Connector's settings page says when they're off and why, and so does Check connection in Ruvma.
- A WordPress administrator, to install the plugin and make its connection key.
Install the Connector
- Download the Ruvma Connector 0.9.1. The same download is on the client's Connect the site page, and in Settings, under Connections.
- In WordPress, open Plugins, then Add New Plugin and Upload Plugin. Choose the file, then Install Now and Activate.
The plugin makes its own WordPress user, with a narrow role: it can edit and publish pages and posts and upload images. It can't sign in to the dashboard, and its connection key works only for the Connector.
Through the Connector, Ruvma can also change what WordPress keeps outside pages and posts: menu items' labels and links, Text, Custom HTML and Block widgets, Astra's header and footer builder, and header and footer templates built with Elementor. It can't install or change plugins, themes or users, or other settings.
Connect the site with its connection key
- In WordPress, open Settings, then Ruvma and select Create connection key. WordPress shows the connection key only once: copy it.
- In Ruvma, on the client's Connect the site page, paste the connection key and select Connect WordPress. It turns on once a connection key is pasted, and Ruvma checks the key works before it saves it.
The steps on Connect the site link to the WordPress pages they name: the plugin upload and Settings, then Ruvma.
The connection key holds the Ruvma user's Application Password and the site's own secret. It works only for the Connector, not for the rest of WordPress, and Ruvma stores it encrypted.
Making a new connection key in WordPress stops the old one. Paste the new one with Change key on the client's site card. If Ruvma can't use a site's connection key any more, the card says so, with Reconnect.
If the Connector doesn't answer the connection key, Ruvma saves nothing and says what's in the way and what to change, with the steps it got through, up to the one that failed: see When Ruvma can't reach the site.
When Ruvma can't reach the site
Check connection, on the client's site card and on the Connect the site page, looks at the site the way Ruvma calls it, step by step, and shows each step passing or failing with what to change. Owners and admins can run it, with the site's connection key, or with a connection key pasted on the Connect the site page before it's saved.
It recognises:
- Application Passwords turned off, by a security plugin, or because WordPress doesn't see the site as HTTPS, as behind Cloudflare with SSL/TLS set to Flexible.
- A host that drops the Authorization header, which Ruvma signs in with, as on many hosts that run PHP as CGI or FastCGI. The Connector 0.9.0 and later sign Ruvma in with a header of their own there; with an older one, update the Connector, or have the host pass the header on, as the fix says.
- WordPress's REST API blocked for Ruvma by a plugin, which Ruvma names when the plugin says which it is. A REST API open only to signed-in users is fine, as Ruvma signs in. If the REST API isn't at /wp-json/, Ruvma uses WordPress's other address for it by itself.
- A firewall or bot protection that turns Ruvma away, such as Cloudflare, Sucuri, Wordfence, ModSecurity, Imunify360, SiteGround's or Akamai's. Allow requests to /wp-json/ruvma/v1/ that carry the X-Ruvma-Signature header.
- A password the site asks for before WordPress.
- A redirect, such as from the bare domain to www: Ruvma follows it on the same site and tells you to save the site under its final address.
- The site's clock being off, and by how many minutes.
- A connection key that was replaced or revoked, the Ruvma user missing, and the Connector deactivated or paused.
- A cache answering for the Connector instead of WordPress.
The same check runs when a request can't reach the site. A problem you need to fix stops the request with the fix, and Try again picks it up once it's fixed. A site that only didn't answer is tried again first, and the request says why if it still doesn't.
Meanwhile the client's site card shows Can't reach the site with the reason and the fix, and so does the list of sites. Both clear once the Connector answers again, and Ruvma checks such a site again every few hours.
What Ruvma changes
Ruvma changes the words, links and images already on a site. On WordPress, that's:
- Block editor pages and posts: paragraphs, headings, list items, buttons, quotes, tables, captions and other text, the links in them, and images, replaced with one the client sent, with their alt text. Ruvma can also add a paragraph or an image after a block, and an item to a list.
- Classic editor pages and posts: the same, including adding an item to a list, but not adding paragraphs or images.
- Pages built with Elementor: what their widgets say, link to and show, including the items of a widget's list, for Elementor's own widgets and other plugins' alike.
- Header and footer templates built with Elementor, from ElementsKit, Header Footer Elementor or Elementor Pro, in the same way.
- Page and post titles, whichever editor made the page. The page's address stays as it is.
- Menus from Appearance → Menus: each item's label, and where a custom link goes.
- Astra's header and footer builder: its HTML, copyright and buttons.
- Widgets in headers, footers and sidebars: Text, Custom HTML and Block widgets, and their titles.
One request can change several of these, such as a phone number in the footer and on the contact page.
What it doesn't change yet
- Pages built with Divi, Beaver Builder, Bricks, Oxygen or WPBakery.
- Block theme template parts, synced patterns and block theme navigation.
- New widgets on an Elementor page: Ruvma changes what's there and adds nothing yet.
- New pages and sections, design and layout, adding or moving menu items, the logo, forms, shop products, plugins and settings.
When a request asks for something Ruvma doesn't do, it stops and tells you, and the change is yours to make.
Previews and publishing
Ruvma makes each change on a copy of the page and shows it on a private preview link. Previews are never cached or indexed, and expire after seven days. Nothing changes on the live page until someone on your team approves it.
One thing reaches the site before you approve: an image that a request needs is added to the WordPress site's media library so the preview can show it. It is on no live page until you approve. With Ruvma Connector 0.9.1 or newer, it stays private and out of the Media Library until you approve, under a random file name, though anyone who has the file's exact address can open it, and it is deleted as soon as Ruvma tells the Connector the request ended without being published, or within eight days if the site can't be reached then. An older Connector keeps the image public, and deletes it about eight days after a request that wasn't published. Publishing makes it an ordinary image of the site.
When you approve, the Connector checks nobody edited the page since the preview, saves it, reads it back to confirm every change, and clears the page from caches. WordPress keeps a revision of the page as it was.
- If someone edited the page in WordPress since the preview, Ruvma doesn't publish over their work: it makes a new preview from the page as it is now, for you to approve.
- If someone has the page open in WordPress, Ruvma waits a few minutes and tries again.
The Connector keeps a log of what Ruvma did, under What Ruvma did in Settings, then Ruvma, and a copy of each changed page, for 180 days. See Reviewing and publishing for the review screen.
That copy is what Revert, on a published request, puts back, unless the page changed again since it went live. See Revert a published change.
Keeping the Connector up to date
The newest Connector is 0.9.1. From 0.8.0, WordPress keeps it up to date the way it does plugins from wordpress.org: each new version shows on the Plugins screen and in Dashboard → Updates. Select Enable auto-updates next to the plugin, in Plugins, and WordPress installs them by itself.
A Connector older than 0.8.0 doesn't know where its updates are, so you upload the new version once, by hand. Download it, then in WordPress open Plugins, then Add New Plugin and Upload Plugin, choose the file, select Install Now, then Replace current with uploaded. From then on WordPress offers the updates itself.
- Updating keeps the connection key and everything Ruvma did.
- When a site's Connector is behind, its page in Ruvma says so, with the steps, and Check again for once you've updated.
- An older Connector does less. When a request, or a revert, needs something a site's Connector can't do yet, Ruvma says which version it needs.
- From 0.9.0, the Connector also works on hosts that drop the Authorization header, tells Check connection why it turned a sign-in away, and asks caches to keep none of its answers to Ruvma. An older one keeps working where it works now, and Check connection says when updating would help.
- WordPress asks www.ruvma.com for the latest version twice a day, as it asks wordpress.org about other plugins. The request carries the plugin's version and nothing about the site.
- From 0.9.1, the Connector installs an update only when it carries Ruvma's signature, which it checks before WordPress unpacks anything. Someone who took over www.ruvma.com couldn't put their own code on your clients' sites that way. An update without the signature isn't installed: the Plugins screen says why, and the site keeps the version it has. Updates only move forward: the Connector installs only a version newer than the one the site runs, so an older release can't take a site back.
Pausing Ruvma on a site
Any WordPress administrator can pause Ruvma in Settings, then Ruvma, with Pause Ruvma. While it's paused, Ruvma can't read or change the site's pages, and only someone in WordPress can turn it back on, with Turn Ruvma back on.
A request that reaches a paused site stops and tells you why. Once Ruvma is on again, select Try again on the request.
To keep Ruvma from reading a client's new emails instead, pause its agent in Ruvma: see Pause the agent for a client.
Disconnecting and uninstalling
- Disconnect, on the client's site card, makes Ruvma stop changing the site and forget its connection key. The client's requests still come in, and wait until you connect the site again.
- Disconnecting also asks the Connector to revoke the connection key on the site, so it stops working there too. If the site doesn't answer, or runs a Connector older than 0.9.1, Ruvma says so, and the key works until someone makes a new one in WordPress, under Settings, then Ruvma, or deactivates the plugin.
- Deactivating the plugin stops Ruvma at once: from 0.9.1 it revokes the connection key and takes the Ruvma user's role away, so nothing of Ruvma's works on the site, through the Connector or WordPress's own API. To connect again, activate it and make a new connection key.
- Deleting it removes its user, its settings and its log; the revisions WordPress kept stay, under an administrator.