Installation


WordPress Dashboard
  • Go to ‘Admin’ -> ‘Plugins’ -> ‘Add New’.
  • Click on ‘Upload Plugin’.
  • Upload plugin zip.
  • Activate plugin.
FTP, SFTP, SCP etc…
  • Unzip plugin zip.
  • Upload the unzip plugin folder to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…).
  • Activate plugin.

Configuration


  • Primary Site.
    • Installed and Activated plugin.
    • Verify purchase code. Go to ‘Admin’ -> ‘User Sync’ -> ‘Sites’ -> ‘Licence Verification’.
    • Add secondary sites. Go to ‘Admin’ -> ‘User Sync’ -> ‘Sites’ -> ‘Add site’.

      Note: The plugin must be only installed and activated in the secondary sites.

      If you fetch the “Authentication failure.” error or not sync users, add “RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]” line in secondary sites .htaccess file.

      The original .htaccess looked like:
      # BEGIN WordPress
      <IfModule mod_rewrite.c>
      RewriteEngine On
      RewriteBase /
      RewriteRule ^index\.php$ - [L]
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule . /index.php [L]
      </IfModule>
      # END WordPress
                      
      You need to change it like (if you fetch error):
      # BEGIN WordPress
      <IfModule mod_rewrite.c>
      RewriteEngine On
      
      RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
      
      RewriteBase /
      RewriteRule ^index\.php$ - [L]
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule . /index.php [L]
      </IfModule>
      # END WordPress
                      
  • Secondary Sites.
    • Installed and Activated plugin only.

Also, support two-way sync. If you sync two sites with two-way sync, purchase two licenses one by one from the CodeCanyon. If you sync three sites with two-way sync, purchase three licenses one by one from the CodeCanyon. The configuration guide is below.

  • Primary Site.
    • Installed and Activated plugin.
    • Verify purchase code for primary site. Go to ‘Admin’ -> ‘User Sync’ -> ‘Sites’ -> ‘Licence Verification’.
    • Add secondary site. Go to ‘Admin’ -> ‘User Sync’ -> ‘Sites’ -> ‘Add site’.
  • Secondary Site.
    • Installed and Activated plugin.
    • Verify purchase code for secondary site. Go to ‘Admin’ -> ‘User Sync’ -> ‘Sites’ -> ‘Licence Verification’.
    • Add primary site. Go to ‘Admin’ -> ‘User Sync’ -> ‘Sites’ -> ‘Add site’.

Sites


Add site
  • Go to ‘Admin’ -> ‘User Sync’ -> ‘Sites’.
  • Site URL: Add WordPress site URL.
  • Username: Add WordPress admin username.
  • Password: Add WordPress admin password.
  • Click on ‘Add site’ button.
Sites
  • Go to ‘Admin’ -> ‘User Sync’ -> ‘Sites’.
  • You will see list of synced sites.

Settings


  • Go to ‘Admin’ -> ‘User Sync’ -> ‘Settings’.
  • Sync Type: You can set ‘Auto Sync’ or ‘Manual Sync’ as per your needs. By default ‘Auto Sync’.
    • Auto Sync: Sync user automatically when a user add/update/register.
    • Manual Sync: Sync user manually.
      • Edit user which you want to sync.
      • You will see ‘WordPress API Multiple Sites User Sync’ section.
      • Click on ‘Sync’ button.

Bulk Sync


  • Go to ‘Admin’ -> ‘User Sync’ -> ‘Bulk Sync’.
  • Add user per page.
  • Click on ‘Filter’ button
  • You will see list of users.
  • Select users you want sync.
  • Click on ‘Sync’ button.