• I’m creating a mobile version of my established desktop site. My desktop site is (for example) zzz.com and I created a subdomain m.zzz.com for my mobile site. I’ve already installed WordPress on the subdomain and pointed it to the same database as zzz.com and I am sharing the user database by putting this in wp-config:

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

    So right now both websites are on 1 database but use different table_prefix.

    The mobile site will have the exact same posts as well. What I will do is import all comments from the desktop site into the mobile site and then I want to SYNC all future comments between zzz.com and m.zzz.com so if someone comments on a post on zzz.com, the comment will also show on the same post on m.zzz.com and vice versa.

    Is this possible?

    Notes:
    -Multisite/network is not an option. I cannot get it installed, it’s an issue with my database and plugins. I’ve tried for the past 48+ hours and it will not install unless I use a fresh WordPress install.

    -Theme switcher is not an option, the mobile theme requires it’s own WordPress install.

  • The topic ‘Is it possible to sync comments between two WP installs on same database?’ is closed to new replies.