WordPress API Posts and Pages Sync with Multiple WordPress Sites

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


  • Source Site.
    • Installed and Activated plugin.
    • Verify purchase code. Go to ‘Admin’ -> ‘Content Sync’ -> ‘Sites’ -> ‘Licence Verification’.
    • In “Admin” -> “Content Sync” -> “Settings”, set ‘Query String Parameters’ option.
    • Add destination sites. Go to ‘Admin’ -> ‘Content Sync’ -> ‘Sites’ -> ‘Add site’.
  • Destination Sites.
    • Installed and Activated plugin only.
    • Would you please set “Admin” -> “Settings” -> “Permalinks” -> “Custom Structure”. Like “Post name” option.

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.

  • Source Site.
    • Installed and Activated plugin.
    • Verify purchase code for source site. Go to ‘Admin’ -> ‘Content Sync’ -> ‘Sites’ -> ‘Licence Verification’.
    • In “Admin” -> “Content Sync” -> “Settings”, set ‘Query String Parameters’ option.
    • Would you please set “Admin” -> “Settings” -> “Permalinks” -> “Custom Structure”. Like “Post name” option.
    • Add destination site. Go to ‘Admin’ -> ‘Content Sync’ -> ‘Sites’ -> ‘Add site’.
  • Destination Site.
    • Installed and Activated plugin.
    • Verify purchase code for destination site. Go to ‘Admin’ -> ‘Content Sync’ -> ‘Sites’ -> ‘Licence Verification’.
    • In “Admin” -> “Content Sync” -> “Settings”, set ‘Query String Parameters’ option.
    • Would you please set “Admin” -> “Settings” -> “Permalinks” -> “Custom Structure”. Like “Post name” option.
    • Add source site. Go to ‘Admin’ -> ‘Content Sync’ -> ‘Sites’ -> ‘Add site’.

Sites


Add site
  • Go to ‘Admin’ -> ‘Content Sync’ -> ‘Sites’.
  • Site URL: Add destination WordPress site URL.
  • Username: Add destination WordPress site admin username.
  • Password: Add destination WordPress site 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.
  • Post Types: You can enable/disable posts and pages for sync.
  • Authorization: You can set ‘Header’ or ‘Query String Parameters’.
  • Sync on post/page delete?: If post/page trash on the source site, it will trash that post/page on the destination sites. If post/page delete permanently on the source site, it will delete permanently that post/page on the destination sites.

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.

API Error Logs


Go to ‘Admin’ -> ‘Content Sync’ -> ‘API Error Logs’. It will show WordPress API error logs.