How to Install WordPress Locally

A Bonus Video Guide to install WordPress available at the bottom.

Install WordPress on your local computer to allow you to build and test websites without needing an online server. WAMP (Windows, Apache, MySQL, PHP) provides everything you need to run WordPress locally.

Pre-Installation Checklist

Before you begin, make sure you have the following ready:

  1. Local Server (WAMP installed)
    • Download WAMP from https://www.wampserver.com and install it.
    • Once installed, start WAMP and ensure the icon in your system tray turns green, meaning all services (Apache, MySQL) are running.
  2. Database in Your Server
    • You’ll need a MySQL database to store your WordPress data.
    • You’ll create this in phpMyAdmin (explained in the steps below).
  3. WordPress Zip File

Step 1: Create a Database in WAMP

  1. Start WAMP Server.
    • Launch WAMP from your desktop or Start Menu.
    • Wait for the WAMP icon in the taskbar to turn green.
  2. Open phpMyAdmin.
  3. Log in.
    • Default username: root
    • Leave the password field blank and click Go (unless you’ve set a password).
  4. Create a new database.
    • Click Databases at the top.
    • Enter a name for your database (e.g., wordpress_db).
    • Click Create.
    Your empty database is now ready for WordPress.

Step 2: Download and Extract WordPress

  1. Download WordPress.
  2. Extract the WordPress folder.
    • Unzip the file using Windows Explorer or any extraction tool.
    • You’ll get a folder named wordpress.
  3. Move the folder to your WAMP “www” directory.
    • Navigate to: C:\wamp64\www\
    • Copy and paste (or move) the wordpress folder here.
      Optionally, rename the folder to your project name (e.g., mywebsite).

Step 3: Install WordPress

  1. Open your browser and go to: http://localhost/wordpress (Or replace wordpress with the folder name you used.)
  2. Select your language and click Continue.
  3. WordPress will ask for database details.
    Click Let’s go! and enter:
    Database Name: the one you created earlier (e.g., wordpress_db)
    Username: root
    Password: (leave blank)
    Database Host: localhost
    Table Prefix: wp_ (you can leave this as it is)
  4. Click Submit, then Run the Installation.
  5. Fill in your site details:
    Site Title: e.g., “My Local Site”
    Username: e.g., admin
    Password: choose a secure password
    Email Address: your email (used for password resets)
  6. Click Install WordPress.
  7. Once complete, you’ll see a success message — click Log In and use your credentials.

You’re Done!

You’ve successfully installed WordPress locally on your WAMP server. You can now access your local site anytime by visiting: http://localhost/wordpress (or the name you used).

Next Steps

  • Explore the WordPress Dashboard (http://localhost/wordpress/wp-admin)
  • Install themes and plugins.
  • Experiment safely before moving your site online.
error: Content is protected !!
Scroll to Top