I have a working Wordpress blog (w/ a 5.6MB existing .sql database) that I'm currently running live on the web. I would like to download a copy of the blog to 'localhost' to make some design changes and test a few plugins; in other words, I want an exact copy locally to test on, so I can keep the online blog "error" free. I read the wiki page for importing a Wordpress blog, but I'm not understanding the instructions, nor do I think they apply to my situation -maybe I'm wrong.
My main questions are:
1. After downloading a backup of my existing blog, where do I put the blog folder for ampps to be able to use it?
2. What do I need to do to be able to open and run the blog in ampps?
I hope my questions are specific enough. I really need step-by-step instructions as I'm new to this.
For using the working copy of WordPress from the server to localhost you can follow following steps:
1. Export the database from your server and import it in your local MySQL server and copy the files and paste it in the /PATH/TO/AMPPS/www/ folder
2. Change the URLs and paths of your server in the database.
3. Change the database settings in the wp-config.php according to your database and make other required changes in the same file.
4. Then you can Import it to AMPPS using the following guide:
http://ampps.com/wiki/How_to_Import_an_Installation 5. Now you can make changes and then while uploading you can upload all the files except the wp-config.php and import the new database with the changes made for the URLs and paths.
AMPPS does indeed work with the "Duplicator" plugin!
Here's what I did:
1. From the Duplicator plugin window in Wordpress admin, I created a package and downloaded it and the installer (install.php). Note: if you're on Mac, the package may automatically be unarchived; however, you need the actual zip file for the installer to work.
2. In the AMPPS folder there's another folder labeled 'www'. I created a subfolder there and labeled it 'wp-test'. I then placed both the zip file (package) and the installer (install.php) in that folder.
3. After starting up AMPPS, I opened a browser and went to:
4. The newly opened index (browser window) lists the installer and the package. I clicked on the installer (install.php) and when it opened, I filled out the necessary fields. There's a very brief tutorial here.
5. Under the database section, I created a 'Name' for the database, but I used the term 'root' for the 'User' field and 'mysql' for the 'Password' field -those two entries ('Username' = 'root' and 'Password' = 'mysql') were the key to making the installation work for me.
6. After making sure all the entries were correct, I clicked the 'Install' button and it worked.
I now have an exact copy of my blog at my 'localhost' where I can do all the testing I need to do before going live.
Sincere thanks for the help!
AMPPS is truly a great product; I would definitely recommend it!