![]() Next got to the “Download a MySQL Database Backup” and click on the name of your WordPress database. This download may take some time depending on how large your site is. Click the “Home Directory” button and save this in a place you will remember. On the backup screen scroll down to “Download a Home Directory Backup”. In cPanel locate the “backup” link and click it. Hint: it’s usually port 8082 on your domain. Now we need to back up the WordPress files and database from cPanel. Backing Up Your Live/Production WordPress Site I changed mine to my home directory > sites so it’s easier for me to remember. Now open the document root folder and keep it for later. You want to click on the “Web Server” tab and take not of the “Document Root” folder. In Windows, this is probably under the File menu. Once the servers are started you want to go to the MAMP preferences from the top menu. On the MAMP control panel click on “start servers”. So I will launch the non-pro version of MAMP. In my case, it was installed inside a folder call MAMP. For this tutorial, you want to launch MAMP. Now you will have two applications installed. There really aren’t many choices so I won’t screenshot them. Once the file is downloaded it open the installer and follow the instructions. I’ll download the Mac package since I’m using a Mac. Go to the MAMP Downloads page and select the package for your operating system. like having multiple sites and hostnames. You might want to look into the MAMP Pro software if you’re looking to do some more advanced local hosting. For this tutorial, I will use the free version of the MAMP software to set up a local WordPress development environment. There is a free version and a paid version of MAMP that includes many more features. MAMP is a software suite that allows you to run apache, MySQL, and PHP locally on mac or windows. A local SQL client to connect to your local database and import data Installing MAMP.Access to both your files via FTP or SSH and the ability to backup your database.If you don’t have cPanel you will need to be able to make a backup of your site and database via your hosting provider on your own.The site should be hosted on a platform that includes the cPanel control panel application.An already live WordPress site hosted on your own server ( not ).Prerequisites and assumptionsįor this tutorial you will need the following: Windows users should generally be able to follow this tutorial with some slight tweaks. We’ll also show you how to backup and import the data from your live website into the local environment for testing.įor this tutorial, I will be using a Mac but the MAMP software is available for both Mac and Windows. Are you developing a WordPress site but want to make changes locally before applying them to your live site? Tired of breaking things in production? This tutorial will help you set up a local development environment for your WordPress site on your Mac or Windows desktop.
0 Comments
Leave a Reply. |