Note: Would you please follow “permalinks settings” and “.htaccess” file changes if you will fetch the sync issue. We have added guide in the documentation.

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’ -> ‘Content Sync’ -> ‘Sites’ -> ‘Licence Verification’.
    • Add secondary sites. Go to ‘Admin’ -> ‘Content 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 posts and pages, 1) Would you please set “Settings” -> “Permalinks” -> “Custom Structure”. Like “Post name” option. 2) 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):
      <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>
                      
  • 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’ -> ‘Content Sync’ -> ‘Sites’ -> ‘Licence Verification’.
    • Add secondary site. Go to ‘Admin’ -> ‘Content Sync’ -> ‘Sites’ -> ‘Add site’.
  • Secondary Site.
    • Installed and Activated plugin.
    • Verify purchase code for secondary site. Go to ‘Admin’ -> ‘Content Sync’ -> ‘Sites’ -> ‘Licence Verification’.
    • Add primary site. Go to ‘Admin’ -> ‘Content Sync’ -> ‘Sites’ -> ‘Add site’.

Sites


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

Settings


  • Go to ‘Admin’ -> ‘Content Sync’ -> ‘Settings’.
  • Sync Type: You can set ‘Auto Sync’ or ‘Manual Sync’ as per your needs. By default ‘Auto Sync’.
    • Auto Sync: Sync post and page automatically when a post and page add/update.
    • Manual Sync: Sync post and page manually.
      • Edit post and page which you want to sync.
      • You will see ‘WordPress API Content Sync’ section.
      • Select destination sites you want sync.
      • Click on ‘Sync’ button.

Bulk Sync


  • Go to ‘Admin’ -> ‘Content Sync’ -> ‘Bulk Sync’.
  • Select posts or pages you want sync.
  • Select a record per page.
  • Click on ‘Filter’ button
  • You will see list of records.
  • Select records you want sync.
  • Select destination sites you want sync.
  • Click on ‘Sync’ button.