Title: Moved URL
Last modified: March 26, 2019

---

# Moved URL

 *  Resolved [andyward75](https://wordpress.org/support/users/andyward75/)
 * (@andyward75)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/moved-url/)
 * Hi,
 * I have been running UpdraftPlus on 3 sitres via your instance of Centrla and 
   all has been great. One site has just gone live and so I have changed the url
   on it but I cannot find out how to change the url on the Updraft Plus piece.
 * The site was brightpm.scdprod.uk and is now brightpropertymanagement.com.
 * I tried deleting it and it did say it was but when I logged back it was still
   there. Generating a new key doesn’t work and I get a Http400 error.
 * All help appreciated.

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

 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/moved-url/#post-11360491)
 * Hi,
 * Can you please add following two lines to wp-config.php file in the root folder?
 * define( ‘WP_HOME’, ‘[https://brightpropertymanagement.com/&#8217](https://brightpropertymanagement.com/&#8217););
   
   define( ‘WP_SITEURL’, ‘[https://brightpropertymanagement.com/&#8217](https://brightpropertymanagement.com/&#8217););
 * Then login into WordPress admin of [https://brightpropertymanagement.com/](https://brightpropertymanagement.com/)
   and go to UpdraftPlus > Advanced tools > Search and Replace
 * In Search for: add the url of old site
    In Replace with: add the url of new site.
 * Then hit Go button.
 * Let us know if above steps helps, to fix the issue?
 * Thanks,
    Harshad
 *  Thread Starter [andyward75](https://wordpress.org/support/users/andyward75/)
 * (@andyward75)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/moved-url/#post-11360909)
 * Thanks for this. I already had those lines in my wp_config.php as I’d seen them
   whilst searching for clues. It appears that the search/replace only works for
   those with the premium version of the product which I don’t have.
 * I have pretty much gone through every table though and corrected allinstances
   of the URL. Do you know which table Updraft Plus keeps that info in?
 * Many Thanks and Kind Regards
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/moved-url/#post-11362314)
 * Hi,
 * If your host supports WP-CLI, you can run following WP-CLI command on SSH
 * wp search-replace ‘old_url’ ‘new_url’ –precise –recurse-objects –all-tables
 * Replace old_url and new_url with actual links.
 * Thanks,
    Harshad
 *  Thread Starter [andyward75](https://wordpress.org/support/users/andyward75/)
 * (@andyward75)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/moved-url/#post-11362449)
 * The bizarre thing is that although it siad it couldn-t connect to the site, it
   did continue doing backups that “apparently suceeded”!
 * I decided to try and remove the site from Updraft Central and delete the key 
   from my site. I then generated a new key, and added a new site using the new 
   url. This seems to have wroked and I await the backup tomorrow.
 * Many Thanks for your help. It has been most helpful and is greatly appreciated.
 * I will now clsoe this.

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

The topic ‘Moved URL’ is closed to new replies.

 * ![](https://ps.w.org/updraftplus/assets/icon-256x256.jpg?rev=1686200)
 * [UpdraftPlus: WP Backup & Migration Plugin](https://wordpress.org/plugins/updraftplus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/updraftplus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/updraftplus/)
 * [Active Topics](https://wordpress.org/support/plugin/updraftplus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/updraftplus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/updraftplus/reviews/)

## Tags

 * [add site](https://wordpress.org/support/topic-tag/add-site/)
 * [URL change](https://wordpress.org/support/topic-tag/url-change/)

 * 4 replies
 * 2 participants
 * Last reply from: [andyward75](https://wordpress.org/support/users/andyward75/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/moved-url/#post-11362449)
 * Status: resolved