Hi,
Can you please add following two lines to wp-config.php file in the root folder?
define( ‘WP_HOME’, ‘https://brightpropertymanagement.com/’ );
define( ‘WP_SITEURL’, ‘https://brightpropertymanagement.com/’ );
Then login into WordPress admin of 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
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
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
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.