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

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 :)
TinaMBarnardAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jason C. LevineNo oneCommented:
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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TinaMBarnardAuthor Commented:
It worked perfectly...just have to change the name of the dev folder!!!

Thanks Tina :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.