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

Posted on 2014-08-07
Last Modified: 2014-08-07
I have built a website in worpress in the dev folder, and I am almost done and want to move it to the main forder

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 :)
Question by:TinaMBarnard
    LVL 70

    Accepted Solution

    Hi Tina,

    General response:

    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 Comment

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

    Thanks Tina :)

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Suggested Solutions

    Transferring a wordpress site from a host or local dev server to another host can be a pain. So I've included my steps on how I have accomplished this task. Steps include an assumption that you have Cpanel access or Ftp access.. If you do not hav…
    So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
    This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
    The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    26 Experts available now in Live!

    Get 1:1 Help Now