wordpress 3.2.1 move to new domain instructions

Soldato
Joined
7 Jan 2007
Posts
10,607
Location
Sussex, UK
Hi people,

Can anyone suggest some idiot friendly, simple to follow and complete guides to moving the latest wordpress onto a new domain and new hosting?
 
If I were going to move my Wordpress installations I would do it the old fashioned way.

A) Download all my files and do a complete file check for the old domain string to make sure any silly absolute URL references are caught.

B) Export my database SQL data using PHPmyadmin and do the same string check to change all old domain references over to the new domain.

Then I'd just upload the files to the new hosting and import the DB and check the WP config file before loading it up for the first time.

edit: The hosting really shouldn't confuse things at all. All the hosting does is provide the space for your files.
 
Last edited:
Hi people,

Can anyone suggest some idiot friendly, simple to follow and complete guides to moving the latest wordpress onto a new domain and new hosting?

1) Backup all files and restore on new hosts.
2) Check your wp-config.php file settings - make sure new DB user/password is correct for your new host

For the change of domain:
3) Open the table called wp_options and change all occurrences of your old domain with your new domain. There are two fields where the domain is referenced in this table, make sure you do both.
 
Should be, but remember if people have entered absolute URLs for content elsewhere in posts/pages etc then you will have to fix all of those manually. Or if you use my string check method you can cover all your bases.
 
Just a simple string match check. You're looking for your old domain and replacing it with your new one. So if you are moving from flerb.com to pants.net you search for "flerb.com" and replace with "pants.net".. simples!
 
That just refers to moving domain. I can't find clear and simple instructions on how to change domain and move hosting.

It tells you exactly what you need to do to move your site to a new server, same or different domains instructions are all on the page I linked.

You're just over complicating it if you think there is more to do.

WordPress said:
1.) Download a copy of the main wordpress files from your OLD blog to your hard drive and edit wp-config.php to suit the new server.

2.) Go back to your OLD blog and go to Administration > Settings > General and change the url (both of them) to that of your new site.

3.) Again, download your database (but keep the old one just in case), upload this new database and the copy of the wordpress core files with the edited wp-config.php to your new server.

Thats it!
 
you can export posts etc. through Wordpress...
When I did this recently, I exported posts/attachments etc. then downloaded a backup of the database using a plugin, setup new site, imported posts/etc. then reimported the media...job done.
 
Back
Top Bottom