Running a local copy and install Wordpress on a Mac using MAMP
A Local Host is great because it allows you to host your site on your computer! This means two things:
- You can see changes instantly without having to download the site from the internet
- You can work on and edit your theme offline
The best tutorial that I have found online to install a Localhost for a Mac is this tutorial right here by Lullabot. The tutorial should have everything you need to know.
Next step is to install Wordpress on your Local Host:
- Open the Start Page for Mamp (http://localhost/MAMP/)
- Click on phpMyAdmin (one of the tabs on top)
- Click on the drop down menu for MYSQL connection collation and select utf8_unicode_ci
- Click on the box under Create New Database and write wordpress
- Click “Create”
- Download Wordpress from http://wordpress.org/
- Open the wp-config-sample.php file
- Make the following edits:
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define(’DB_NAME’, ‘wordpress‘);/** MySQL database username */
define(’DB_USER’, ‘root‘);/** MySQL database password */
define(’DB_PASSWORD’, ‘root‘);/** MySQL hostname */
define(’DB_HOST’, ‘localhost’);
- Save the file as wp-config.php
- Open up your Local Host folder (created from the Lullabot video tutorial above)
- Find the folder titled “wordpress” (if the folder was not automatically created, create it right now)
- Transfer ALL of the wordpress files into the Wordpress folder
- Go to the following url to install Wordpress onto your Localhost: http://localhost/wordpress/wp-admin/install.php
- Follow the steps and you’re done!
If after you’ve read the entire tutorial, and read the entire comment section, and you still can’t figure out how to install a Localhost on your Mac, leave me a comment here and I will walk you through the installation.

No comments yet.