3. The Method Install MAMP Install an empty WordPress blog Copy and edit your live database Copy your live wp-content folder Fix all the little things that are broke
5. Installing WordPress Recommend svncd /applications/MAMP/htdocsmkdir blogcd blogsvn co http://core.svn.wordpress.org/tags/3.2.1 . Detailed info here:http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion
6. Installing WordPress (cont) Create a blank MySQL database http://localhost/MAMPUtilize phpMyAdmin – it makes life easier Navigate to new bloghttp://localhost/blog Complete WordPress configuration page
7. Copy and Edit Live Database mysqldump to copy$ mysqldump –u [database user name] –p[database user’s password] [database name] > [dump file name].sql Move dump file to local machine and editreplace //blogname.com with //localhost/blog Create blank MySQL database Import edited dump file /applications/mamp/Library/bin/mysql -u root -proot[database name] < [edited dump file].sql
8. Copy and Edit Live wp-content There is where all your plugins, images and other customizations should be. I use tarfrom the blog foldertar cvf wp-content.tar wp-content/ Copy that file to local machine Expand the tar file and replace the local wp-content foldertar xvf wp-content.tar
9. Fix all the little things Edit wp-config.phpDatabase name and double check table prefix Blog should at least now loadhttp://localhost/blog Themes can be a mess hereActivate a different theme and then reactivate your premium theme Also, I lost most of my widgets
10. An Alternative In the past (but it seems broken at the moment) BackupBuddy almost completely automated this process. Premium plugin so make sure the feature is working again before paying. Probably only makes sense if you are doing this frequently