• Hello,

    I had some issues trying to migrate my website from localhost to a private hosting. Since I was not able to solve them, I asked for help and I was told to use a backup of the website I have in my localhost to the private host.

    I tried to do so by installing a new WordPress page on the private host and then adding a backup of the database and the folder containing all WordPress data (config.php, content.php,…). It did not work because once I tried to enter the website in the private host, it sent me back to the page in the localhost. In order to solve this, I wrote in config.php:
    define( ‘WP_HOME’, ‘http://realhost.com/’ );
    define( ‘WP_SITEURL’, ‘http://realhost.com/’ );

    What happens now is that everytime I try to access a page, I am told it was not possible to find it (although the URL is correct now). I suspect that is because the content is still in the localhost. Should I change the URL from the dashboard configuration of my localhost? I have not done that because I am afraid of messing up.

    Thanks a lot.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to add backup to a fresh install’ is closed to new replies.