I Setuped a WordPress site on http://domainname.com/test/ now I want to move everything to main domain http://domainname.com/
How to do this without loosing anything? and most important thing http://domainname.com is live site so moving should take very less time if possible.
Any suggestion would be appreciated?
WordPress version is 3.0.3 and Hosting is Dreamhost. I have access to everything. FTP, Database.
I personaly do that in 3 steps:
1) in the admin i change both wordpress and site adresses from ‘domainname.com/test/’ to ‘ domainname.com/’. After saving it’ll break the site, no worries.
2) i move ftp files from the /test/ folder to the root one (gives back the admin and site).
3) i finally change database datas that refer to the old url ‘…/test/’ by using the plugin search and replace. Gives back all the pictures uploaded for exemple.
Did it again this morning, works fine.
And as pootzko says, backup backup, you never know what can happen.
that’s all.. pretty easy. just follow the steps in the link and nothing will be lost.
for all the data that’s in your root ( http://domainname.com/ ) – just move it to another folder, or delete it all after you backed it all up. if it’s all on the same server – it will all be done very quickly since it’s all just local moving of files…
You can actually just leave your files in that subfolder and follow these steps per the codex.
require(‘./wp-blog-header.php’);
to the following, using your directory name for the WordPress core files:
require(‘./test/wp-blog-header.php’);
There is a really great clone software that works as a back up and you can move the whole blog as is anywhere you want. It takes just a matter of minutes. You can get it here:
https://fladlien.infusionsoft.com/go/wptwin/edakehur/
I hope that helps. I have used to move sites, back sites up, help others move sites. If you only need to move this one, it may not be for you, but if this is something you will do from time to time, it is a fantastic tool to use to move (and back up) wordpress blogs.