DEV Community

NEXU WP
NEXU WP

Posted on

Step-by-Step Guide to Sync WordPress User Metadata Across Multiple Sites

Connect Sites and Enable Metadata Sync

  1. Install Nexu User Sync on your master site and sub-sites. Designate one as master for authoritative data flow.

  2. Generate an encrypted API key on the master via the plugin's guided wizard. Enter it on each sub-site to establish secure connections. No server tweaks or FTP needed.

  3. In the WooCommerce tab, enable billing and shipping metadata sync. This covers fields like billing_first_name, billing_address_1, shipping_city, without listing each one manually.

Configure Directions, Roles, and Run Sync

  1. Set sync direction in the settings tab: one-way from master to subs prevents conflicts, or bidirectional if subs update master data.

  2. Map roles before bulk operations. Translate 'Customer' on the master to 'Member' on subs via the role mapping interface.

  3. Trigger a Bulk Push from the master. It queues existing users and their metadata for background processing, handling thousands without performance hits.

Verify Sync Works Correctly

Test with a unique profile on the master: add fictional billing details, save, and check the queue tab for processing.

Log into the sub-site, inspect the user's WooCommerce customer record, and confirm fields match. Review event logs filtered by user email for 'applied' status.

Use this checklist: enable WooCommerce fields for commerce sites, exclude admin roles, verify post-config. Your network now delivers seamless data like consistent shipping addresses, boosting operations. Install Nexu User Sync today to maintain this sync effortlessly.

Top comments (0)