Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress Local WordPress Development Local WordPress Development Migrating WordPress from Local to Live Server

Can you provide me a step by step instructions how to get my already live wordpress page on mamp through filezilla?

I am taking the wordpress track, to help me build my website. You have walked me through installing a local server, and how to get the local wp site to a live site. I am having a very difficult time understanding how to do the reverse process in order to get my site I already started from live status to my local server.

1 Answer

Rich Salvucci
Rich Salvucci
16,716 Points

Hi Robert,

With your site running locally there are a few steps you will need to take to migrate it to the server.

  1. In your phpmyadmin in MAMP export your database. http://www.wpbeginner.com/beginners-guide/how-to-make-a-wordpress-database-backup-manually/

  2. Make sure to create a new database on your server in phpmyadmin. Remember to write down the database name, user name and password. You will also need to know the server name. The server name is dependent on where it is hosted many are 'localhost'.

  3. Import your database tables into the new database on your server. http://www.wpbeginner.com/beginners-guide/beginners-guide-how-to-restore-wordpress-from-backup/#restoreusingphpmyadmin

  4. Copy the files including all of the WordPress files onto your the root level of the server or public_html file. The location is dependent on the server.

  5. Update your wp-config.php with the new database credentials.

Your site should now be live and the same as what you were running in MAMP.

There are also many plugins, both paid and free that make the process much more automated. I hope this answers your question.

-Rich