• Resolved andyward75

    (@andyward75)


    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)
  • 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

    Thread Starter andyward75

    (@andyward75)

    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

    Thread Starter andyward75

    (@andyward75)

    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.