Title: POST_TYPE split
Last modified: August 24, 2016

---

# POST_TYPE split

 *  [AlonelySVK](https://wordpress.org/support/users/alonelysvk/)
 * (@alonelysvk)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/post_type-split/)
 * Good day, im using wordpress with real estate template and i want to sync my 
   properties. I did an install the same wordpress to the 2 different domains. Then
   I used this code in settings.php :
 * // 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 = ‘test1_options’; $wpdb->postmeta = $table_prefix . ‘postmeta’;
   $wpdb->usermeta = $table_prefix . ‘usermeta’;
 * $wpdb->prefix = $table_prefix;
 * All work good. Properties are synced, but pages too. I just want to sync properties.
   Properties in database are together with pages in POST and POST_META tables. 
   Is there a way to split them up? Or some code to have only properties table synced?
   Thanks for your replies.

The topic ‘POST_TYPE split’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)
 * [post_type](https://wordpress.org/support/topic-tag/post_type/)
 * [sql](https://wordpress.org/support/topic-tag/sql/)

 * 0 replies
 * 1 participant
 * Last reply from: [AlonelySVK](https://wordpress.org/support/users/alonelysvk/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/post_type-split/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
