changing domains on a Wordpres site
April 18, 2008 6:48 PM
Subscribe
I need to create a website in Wordpress in a test domain, and then when it's all ready, to move it to another domain. What's the best workflow to accomplish this?
I assume because Wordpress runs off a database, that it's going to be more complicated than just a search-and-replace www.testdomain.com for www.realdomain.com throughout the php code. What are the steps I need to take? I will also have various plugins installed - is there anything to say about them re: the domain change, or is it highly dependent on the specific plugins?
FWIW, the site will be on the same server, with the server environment identical in all respects (OS, php version, etc.). It will just need to point to a new domain.
posted by stupidsexyFlanders to computers & internet (5 comments total)
2 users marked this as a favorite
- build the site, then when you're ready to move it
- backup the database using some standard plug in for this. I use Wordpress Database Backup
- setup the db on the new server & make sure it's properly configured in wp-config.php
- install wordpress on the new server
- ftp the entire site without the database to the new server (mostly just the wp-content directory actually)
- re-import the db from the backup
- change a few configurations to say "hey there is a new URL here"
- update permalinks
presto!
posted by jessamyn at 7:06 PM on April 18 [2 favorites]