How to Share Users and Logins Between Multiple WordPress Sites

Having visitors create separate accounts on all your WordPress sites results in a disjointed experience that hurts conversion rates.

An InsightAsset survey found that 39% of consumers get frustrated by repetitive online form filling during purchases.

Implementing single sign-on by sharing user accounts across your properties solves this.

Why Shared Accounts are Critical for User Experience

When visitors register once and unlock all your sites, it demonstrates that you value them. The benefits of account sharing include:

  • 26% higher conversion rates. Removing registration friction makes people more likely to sign-up and purchase.
  • 360-degree view of customers. Aggregated behavioral data leads to better segmentation.
  • Improved security. Central ID management means fewer vulnerabilities.
  • 62% less repetitive administrative tasks. Staff only manage users in one place.

Below are some examples of sites that benefit from shared users:

Website TypeUse Case
Blog networkMembers access all sites after joining one newsletter
Ecommerce + affiliate sitesCustomers get loyalty rewards cross-site
Company intranetEmployees use single credential for all internal properties

Without unified login, you lose out on these advantages.

Automatically Share WordPress User Accounts

Manually creating matched accounts on multiple WordPress installs doesn‘t scale.

The most reliable method is to implement this programmatically with a workflow automation tool like Uncanny Automator.

Here is an overview of how Automator shares user details across sites:

![sharing wordpress users](https://i.ibb.co/Ws3N HYR/automate-user-sharing.png)

Now let‘s walk through how to configure this automated setup.

Install and Configure Uncanny Automator

First, you‘ll need an Uncanny Automator Pro license which start at $99 per year. Each license can support unlimited site connections.

Once purchased, install Automator Pro on your main site, referred to as the source:

automator pro installation

Upon activation, enter your license key at Automator → Settings:

automator license key

With the premium features unlocked, we can move on to creating recipes.

Set Up the Main "Source" Website Recipe

Under Automator → Add New, build a Logged-in User recipe. You may assign any title for your reference.

For the trigger event, choose WordPress → A user is created:

trigger user created

This captures the moment a new user registers to kickoff the automated workflow.

Next, define the action that shares data via a webhook using Webhooks → Send data to a webhook:

Send data webhook

Configure the user details to transfer. Typically, these data points need matching:

  • Email address
  • First name
  • Last name
  • Username

Select each using the dynamic tokens under Body:

body tokens

Leave Webhook URL blank for now. Click Save Draft to test before going live.

Install Uncanny Automator on Secondary Sites

Log into your other WordPress site(s) needing synchronized users. Install and activate Uncanny Automator Pro here following the same initial process.

However, this time create Everyone recipes since visitor credentials can trigger them.

As the trigger event, choose Webhooks → Receive data from a webhook:

receive webhook trigger

Next, precisely match the Keys from the source site under Fields to map transferred data:

Match webhook fields

For the action, have Automator automatically create matched users with WordPress → Create a user:

Create user action

Set If user exists to Log in as existing user to avoid duplicate accounts if credentials already match an existing profile.

Click Save Draft and test thoroughly before going live. Repeat installation on any other sites needing shared users.

Connect WordPress Sites via Webhooks

The final step is connecting your WordPress properties by adding the webhook URLs within Automator recipes.

First, within a secondary site‘s recipe copy the Webhook URL under Trigger:

Secondary site webhook URL

Go back to the main source website recipe, paste this URL into the Send data to a webhook action:

Main site webhook URL

To sync additional sites, grab their Automator webhook URLs and add to the main site‘s recipe.

With the connections established, toggle all live recipes from Draft to Live mode within Automator.

This automatically shares newly registered users moving forward!

Additional Considerations

While the above covers the technical process, here are some other factors to keep in mind:

Email Reliability

Some hosts block WordPress from sending emails reliably. Use a third-party provider like Sendlayer or Mailgun to ensure account creation messages reach users.

Legal Compliance

Remember to include a privacy policy covering how data is shared between sites. Also document that users must only possess one account.

Extending Workflows

Use other Automator triggers to create tailored workflows per business needs, like assigning tags or categories based on user traits.

Role Management

For advanced permission control, selectively share user roles instead of every new visitor account site-wide.

We hope this guide covered everything you need to know about sharing WordPress user accounts! Let me know if any questions come up during your implementation process.

We will be happy to hear your thoughts

      Leave a reply

      TechUseful