Buying Wordpress expert. Sync Post from other site from different server

Discussion in 'Programming' started by ryuchix, Sep 14, 2013.

  1. #1
    hello,

    i need a wordpress pro for this. i have 2 website. and they are in same server. all post are sync to each other. what it do is they share same database, (wp_posts etc.)

    now i want is sync them, but this time in different server. i want everything works perfectly. If i post or edit something to website 1, website 2 will get a new post as well. or the way around.

    or add me Gmail: evilryok at gmail dotcom
    mode of payment: paypal only
    budget: let me know your asking price.

    this is URGENT
     
    ryuchix, Sep 14, 2013 IP
  2. edduvs

    edduvs Well-Known Member

    Messages:
    394
    Likes Received:
    31
    Best Answers:
    3
    Trophy Points:
    160
    As Seller:
    100% - 2
    As Buyer:
    100% - 0
    #2
    Sent a PM in case your offer still stands.
     
    edduvs, Sep 15, 2013 IP
  3. snopycobra

    snopycobra Active Member

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    It's easy enough to do. Upload WP into both directories. Make sure they have the identical wp-config.php file.

    In the second sites directory do the following:
    In the wp-settings.php file change the options database value to something like this:

    // Table names
    $wpdb->posts = $table_prefix . 'posts';
    $wpdb->users = $table_prefix . 'users';
    $wpdb->categories = $table_prefix . 'categories';
    $wpdb->post2cat = $table_prefix . 'post2cat';
    $wpdb->comments = $table_prefix . 'comments';
    $wpdb->links = $table_prefix . 'links';
    $wpdb->linkcategories = $table_prefix . 'linkcategories';
    $wpdb->options = 'YOURNEWPREFIX_options';
    $wpdb->postmeta = $table_prefix . 'postmeta';
    $wpdb->usermeta = $table_prefix . 'usermeta';

    $wpdb->prefix = $table_prefix;

    See how I've removed $table_prefix . in the options line?
    Instead of YOURNEWPREFIX put something like 'site2' or whatever you want.

    Then, in PHPmyAdmin duplicate the wp_options table, and rename one of the them to be YOURNEWPREFIX_options, so if you chose 'site2', it would be 'site2_options'.

    Bingo. Edit the information in the 'site2_options' table to refelct the correct information for your second site and you will be on your way.
     
    snopycobra, Sep 16, 2013 IP
  4. edduvs

    edduvs Well-Known Member

    Messages:
    394
    Likes Received:
    31
    Best Answers:
    3
    Trophy Points:
    160
    As Seller:
    100% - 2
    As Buyer:
    100% - 0
    #4
    @snopycobra , OP wrote this:
    So he already got this part up and running, now he needs this:
    Regards.
     
    edduvs, Sep 17, 2013 IP
  5. snopycobra

    snopycobra Active Member

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    Its again very easy
    here is the trick...
    :)
    you have to contact to hosting support to access hostname "localhost" with any FQDN(fully qualified domain name)
    then use the same above trick...
    the database can be access easily :)

    That's It...
     
    snopycobra, Sep 17, 2013 IP
  6. edduvs

    edduvs Well-Known Member

    Messages:
    394
    Likes Received:
    31
    Best Answers:
    3
    Trophy Points:
    160
    As Seller:
    100% - 2
    As Buyer:
    100% - 0
    #6
    I assume you're not getting the point of DP marketplace, this is the Buy Sell or Trade section, if he was able to do it himself, he would have been asking for help in the Programming section but he wants someone to do it for him. As he clearly stated the offer type when thread was created, "Buying ..." so, you either PM him with some contact info doing the job for free, or, stop post hunting in this section. I wont report your post this time, but please, read what OP asks for then try and help him out or just don't answer if you can't.

    Regards.
     
    edduvs, Sep 17, 2013 IP
  7. snopycobra

    snopycobra Active Member

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #7
    alright bro i understand that...
    i can do that,if the buyer want to hire me...

    skype:snopyayaz
     
    Last edited: Sep 17, 2013
    snopycobra, Sep 17, 2013 IP