Title: Pointing at a different WP Database
Last modified: August 19, 2016

---

# Pointing at a different WP Database

 *  [hubscriber](https://wordpress.org/support/users/hubscriber/)
 * (@hubscriber)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/pointing-at-a-different-wp-database/)
 * Hi.
 * I have a WordPress site at a .co.uk domain, and I am moving the site contents
   to a .com domain hosted by a different company.
 * However, I don’t want to lose the RSS subscribers from the original site, though
   I want all updates to be made to the database at the new site.
 * Is it possible, therefore, to “point” WordPress at the original site to the new
   database hosted with the new site? If so, will this achieve what I want – ie 
   for all current RSS subscribers to continue to get updates even though they’re
   made at a different site?
 * Over time I will encourage subscribers to drop the original subscription and 
   resubscribe to the new feed, but I know this willnot happen overnight.
 * Any advice gratefully received…

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [holonar](https://wordpress.org/support/users/holonar/)
 * (@holonar)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/pointing-at-a-different-wp-database/#post-922352)
 * change the host name in wp-config.php … ?
 *  [Snat](https://wordpress.org/support/users/snat/)
 * (@snat)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/pointing-at-a-different-wp-database/#post-922353)
 * At where the co.uk is hosted, open up your .htaccess and insert the following.
 * This will re-direct all traffic to your co.uk domain to your .com
 *     ```
       RewriteCond %{HTTP_HOST} ^(www\.)?domain\.co.uk [NC]
       RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Pointing at a different WP Database’ is closed to new replies.

## Tags

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

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 2 replies
 * 3 participants
 * Last reply from: [Snat](https://wordpress.org/support/users/snat/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/pointing-at-a-different-wp-database/#post-922353)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
