Moving WordPress
-
A client has asked me to move her WordPress site to a new host, keeping the same domain. I’ve never done this before, so I’m a bit nervous. Correction: I’m a lot nervous.
The Moving WordPress instructions don’t quite add up for me. Firstly they say:
Moving your domain without changing the Home and Site URLs of your WordPress site is very simple, and in most cases can be done by moving the files.
I understand I’ll have to edit wp-config.php for the database connection details, but that’s OK.
Then the instructions say:
If you had any kind of rewrites (permalinks) setup you must disable .htaccess and reconfigure permalinks when it goes live.
I’m not sure if this is a comment that applies in all situations, or just in the “test before you switch” situation (I do use pretty permalinks, btw). The paragraph is contained in that list item. And what do they mean by “Disable .htaccess”? Do I delete it? Will that mess up anything the host has put in there? Do I just need to comment out a rule?
I don’t really understand the “Try before you switch” option, either. What would I change the URL and Address to, since they’re not going to change, according to the section heading? And if you look at the instructions for when the URLs do change, it’s a heck of a lot more complicated than just temporarily changing the site URL and Address.
Then the instructions say:
If you are changing to a new server but same domain, all you need to do is edit wp-config.php with your new database/user information and upload everything as it is to your new server.
This is my case, I imagine. I would have thought it would be true of all cases in this section since if the URLs are not going to change I would have thought the only possible change would be to the server. But maybe I’m missing something. So do I ignore the instructions given above this paragraph and just copy the WP files and a db backup to my local box, edit wp-config for the database changes, and then upload everything to the new host?
Maybe I’m making a fuss over nothing, but I really do have to get this right.
Cheers
PAE
The topic ‘Moving WordPress’ is closed to new replies.