Setting Up a WordPress Site

Free WordPress Tutorial

Learn how to use WordPress as a full-fledged Content Management System (CMS) to create a fully editable site, including creating a database and installing WordPress.org files.

This exercise is excerpted from Noble Desktop’s past WordPress training materials and is compatible with WordPress updates through 2020. To learn current skills in WordPress, check out our WordPress Bootcamp and coding bootcamps in NYC and live online.

Topics Covered in This WordPress Tutorial:

Creating a Database, Installing WordPress.org Files

Exercise Preview

ex prev 2A

Exercise Overview

In addition to a blogging platform, WordPress can also be used as a full-fledged Content Management System (CMS) to create a fully editable site. We’re going to start a new site that will be entirely dynamic, with pages and a blog. In this exercise, we will set up the new database so we can get started.

Web Design Certificate: Live & Hands-on, In NYC or Online, 0% Financing, 1-on-1 Mentoring, Free Retake, Job Prep. Named a Top Bootcamp by Forbes, Fortune, & Time Out. Noble Desktop. Learn More.
  1. To set up a database, start your server and open phpMyAdmin, as shown below:

Mac

  1. Open MAMP (Hard Drive > Applications > MAMP > MAMP.app).
  2. The servers should start automatically. If not, click Start Servers.
  3. If the MAMP start page does not open automatically, click the Open WebStart page button.
  4. On the start page, in the nav menu, go to Tools > phpMyAdmin.
  5. Click the Databases tab at the top.
  6. In the Create database field, enter: mrp
  7. Click the Create button.

Windows

  1. If XAMPP is not already running, navigate to C:/xampp, then double–click xampp-control.exe and start the Apache and MySQL services.
  2. Open your browser and go to localhost
  3. On the start page, in the Tools section, click phpMyAdmin.
  4. Click the Databases tab at the top.
  5. In the Create database field, enter: mrp
  6. Click the Create button.

Installing WordPress

We have already downloaded WordPress for you. When working on your own projects, it is always best to download the latest version from WordPress.org. However, for this class, it saves us some time to have already downloaded it for you.

  1. Navigate to the Desktop, go into the Class Files folder, then the WordPress.org Class folder.

  2. Select the WordPress-4.1 folder and hit Cmd–C (Mac) or CTRL–C (Windows).

  3. Go to the htdocs folder:
    • Mac: Hard Drive > Applications > MAMP > htdocs
    • Windows: C: > xampp > htdocs
  4. Hit Cmd–V (Mac) or CTRL–V (Windows) to paste the WordPress-4.1 folder.

  5. Rename the new pasted folder mrp

Creating a Wp-config.php File

  1. Open your favorite browser and go to:
    • Mac: localhost:8888/mrp
    • Windows: localhost/mrp
  2. English (United States) should be selected, so click Continue.

  3. Click the Let’s go! button at the bottom of the page.

  4. Enter the following database information:

    Mac
    Database Name: mrp
    User Name: root
    Password: root
    Database Host: localhost
    Table Prefix: wp_
    Windows
    Database Name: mrp
    User Name: root
    Password: (leave blank for local install)
    Database Host: localhost
    Table Prefix: wp_

    NOTE: Remember that the username and password come from MAMP or XAMPP locally, or from the hosting account remotely.

  5. Click Submit.

  6. Click Run the install.

  7. For Site Title, enter: Monteith Restoration & Performance

  8. For Username, enter: mrpAdmin

  9. For Password, enter and re-enter: student

  10. For Your Email, enter an email address that can be accessed for the remainder of the class. Make sure to double-check the address before submitting the form.

  11. Uncheck Allow search engines to index this site.

  12. Click the Install WordPress button.

  13. Click the Log In button.

  14. For Username, enter: mrpAdmin

  15. For Password, enter: student

  16. Click Log in.

    You’ll be taken to the Dashboard of Monteith Restoration & Performance.

Noble Desktop Publishing Team

The Noble Desktop Publishing Team includes writers, editors, instructors, and industry experts who collaborate to publish up-to-date content on today's top skills and software. From career guides to software tutorials to introductory video courses, Noble aims to produce relevant learning resources for people interested in coding, design, data, marketing, and other in-demand professions.

More articles by Noble Desktop Publishing Team

How to Learn WordPress

Master WordPress with hands-on training. WordPress is a content management system (CMS) commonly used to build websites and blogs.

Yelp Facebook LinkedIn YouTube Twitter Instagram