Moving a WordPress site to another domain
-
Good evening. First and foremost, any help that anyone can give me would be very much appreciated.
We have a cPanel server at WestHost and we recently set up a very small WordPress site at https://www.this-is-our-domain-1.co.uk
We did this before I got into things and found out about staging sites etc., so setting this up on a spare domain we had seemed like the right thing to do.
OK, so our small site was running fine, and we wanted to transfer it to its final destination.
I went into cPanel and changed the configuration in Softaculous (ie, the directory and URL). I didn’t need to change the database name, database user or password as these would all remain the same.
I also moved all the WordPress files to their new directory on the server.
I have also checked wp-config.php but there doesn’t look like there’s too much in there that needs changing.
However, when I visit our new url https://www.this-is-our-domain-2.co.uk all I see is a basic configuration with none of our content.
Furthermore, when I try to visit https://www.this-is-our-domain-2.co.uk/wp-admin/ all I get is a 404 error, as it’s trying to take me to the old domain.
I’m sure there’s a setting that needs changing somewhere, but I’m getting out of my depth.
Any help anyone could give me would be very much appreciated.
- The topic ‘Moving a WordPress site to another domain’ is closed to new replies.