How to backup my WordPress Site, So I can move it for my /dev folder to my main folder and remain /dev to /esp?

TinaMBarnard
TinaMBarnard used Ask the Experts™
on
I have built a website in worpress in the dev folder, http://www.santabarbarafamilydentistry.com/dev/ and I am almost done and want to move it to the main forder  www.santabarbarafamilydentistry.com.

What is the best way to do this??

I need to leave the one in the /dev because I am going to changes the text to spanish so I will have 2 sites the same except for the text and images. I have all the text and images to put in the site.

 I want to change the /dev to /esp what will be the best way to do this with out messing up the site to much??

Thanks Tina :)
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Don't talk to me.
Commented:
Hi Tina,

General response:

http://www.experts-exchange.com/Web_Development/Blogs/WordPress/A_10258-How-To-Move-A-WordPress-Site.html

You aren't going to do a move as much as a copy so I would try the following.  Refer to the linked article for detailed steps.

1) Download the wp-contents folder from the dev site
2) Install WordPress under the root.  Leave /dev alone for now.
3) Create a new database for the top-level site.
4) Upload the wp-contents folder to the new top-level site to get the theme/graphics/plugins in place
5) Export the dev database as a mysql dump file.  Do a search and replace on the dump file to remove references to /dev/
6) Import the revised dump to the database created at step 3

That should "move" the dev to live and mostly work.  You may have to deactivate and reactivate plugins and permalinks to get the .htaccess file to regenerate properly.

For changing /dev/ to /esp/, all you really need to do is change /dev/ to /esp/ in the database and then rename the directory.  My article provides the relevant MySQL queries that will do this for you.

Author

Commented:
It worked perfectly...just have to change the name of the dev folder!!!

Thanks Tina :)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial