Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Single Sing On & Cross post in 3 different WP WordPress


What We Need:

1. Single Sign On: in 3 different WPs (Wp1, Wp2, Wp3), (Not multisites). -We create user from admin, not open suscribers.




2. Posts made on 2 of these sites (Wp1, Wp2) must be automatically posted in the latter WP using tags and categories in order (secuencially). Then categories must be synced automatically from Wp 1 and Wp 2 to the latter (Wp3) which is the main. Each post that appears in the latter WP, can be text or limited text entry with a thumbnail, with a link for cross reference to back to the original WP where post was originally made.

Answers (1)


Ivaylo Draganov answers:



What you need to in order to sync users on single-site installs is to use a shared <em>wp_users</em> and <em>wp_usermeta</em> tables. To achieve that, put these lines in <em>wp-config.php</em> of each install:

define('CUSTOM_USER_TABLE', 'wp_users');
define('CUSTOM_USER_META_TABLE', 'wp_usermeta');

Next you'll need to sync login cookies. Since you are using the same domain for all 3 installs, putting this in <em>wp-config.php</em> should be sufficient:

define('COOKIEPATH', '/' );
define('SITECOOKIEPATH', '/');

This looks like a job for [[LINK href=""]]FeedWordPress plugin[[/LINK]]. It can sync posts via RSS/Atom feeds - no special WP kung-fu required ;--) I've been using this plugin for a while on a network of sites and it is great. There are a ton of options - it can attribute syndicated posts to existing users, add them to specific terms or create new terms (categories, tags, etc), point links to original site and more. Definitely worth checking out.

miguel angarita comments:

Nice idea, could you do it if I give you ftp access, and give you a bonus?

Ivaylo Draganov comments:

Yes. I can take on the task. You can reach me via a personal message or at my email - dragunoff (at) gmail (dot) com