Friday, July 4, 2014

How to set up another wordpress site locally

Prerequisites:
Steps:
  1. Create a new folder in the Document Root  directory. e.g. /home/Users/john_smith/newsite
    • If you don't know where the Document Root directory is set to, check in MAMP -> Preferences -> Apache -> Document Root
  2. Download and unzip the latest version of wordpress.zip.
  3. Copy the contents of the wordpress directory to your new folder e.g.newsite
  4. Open MAMP, then click on Start Servers.
  5. Go to phpMyAdmin.
  6. Create a new database via the Databases tab, go to Create Database  
  7. Navigate to localhost:8888/[new site name]
  8. Create a configuration file as below.
  9. Enter the database name you created in the previous step and use User Name/Password as root/root.
    Click on Submit
  10. Click on Run the Install
  11. Enter the credentials for your website and click on Install WordPress
Evernote helps you remember everything and get organized effortlessly. Download Evernote.

No comments:

Post a Comment