Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Copy online Wordpress blog to localhost



Threaded Mode | Print  

 Copy online Wordpress blog to localhost (5 Replies, Read 18535 times)
creativehelm
Group: Member
Post Group: Newbie
Posts: 9
Status:
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.

Thank you so much for any help!
IP: --   

Copy online Wordpress blog to localhost
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5640
Status:
Hi,

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.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

Copy online Wordpress blog to localhost
creativehelm
Group: Member
Post Group: Newbie
Posts: 9
Status:
As much as I appreciate the instructions given in response to my original post, I find them to be a bit complicated for a new user.

I found a wonderful solution called "Duplicator", a Wordpress plugin; and it works beautifully with MAMP.

I want to use AMPPS, but unfortunately, when I try to use the Duplicator plugin, AMPPS won't allow the plugin's "install.php" to create/access the local database for the blog.
IP: --   

Copy online Wordpress blog to localhost
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Duplicator Plugin for WordPress is working with AMPPS too.

Sir if you have created a new database user for this installation then some privileges might be missing. Else you can try working with root user.

MySQL Default "root" password is "mysql" in AMPPS.

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Copy online Wordpress blog to localhost
creativehelm
Group: Member
Post Group: Newbie
Posts: 9
Status:
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:

http://localhost/wp-test/

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!
IP: --   

Copy online Wordpress blog to localhost
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Thanks for the appreciation. Please feel free to contact us.

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 28, 2024, 1:38 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.031