26th August 2009

WARNING! This post isn’t really for beginners. In any case, please back all your stuff up comprehensively before trying anything out. If you don’t know what you’re doing, things could go quite wrong.
Moving WordPress’s location—be it to a new domain, a new server location, or both—has never been as easy as it might be. Here I’m going to document my own process for achieving this, and try to keep it updated with new ideas and lessons learned.
Please note before starting that I’m concentrating here on the WordPress-specific side of this process. For anything not related to WordPress regarding moving domain or server, you should probably check with your domain registration service or web hosting provider.
Read more »
Permalink |
Posted in WordPress, databases |
14 comments » |
20th November 2008
I can’t believe I’ve been so stupid.
It’s a regular job for me: I’ve developed a WordPress-driven site on a subdomain, and I need to shift it to the live domain. Export the database as an SQL file, recreate it on the new server and / or domain. Then zip through and replace all instances of the development domain with the live domain.
Not too bad if there’s not much to replace. But I’m just moving a site at a relatively late stage of development and manual replacing was too much. How to do a global search / replace in phpMyAdmin?
The answer is, you don’t. When you’ve exported the database as an SQL file, open the file up in a good text editor and search / replace there. Then import the new file.
Simple.
Permalink |
Posted in databases |
Comments closed |