How to Install WordPress Theme on Local Server (based on WAMP)

From this tutorial you’ll learn how to install WordPress theme on local server using WAMP software.

WAMP is a free software allowing to run a local server on your computer for tuning up websites. If you don’t know from where you can get it, please, feel free to visit WAMP official website and download its package from here.

Please, check WAMP Web Development Environment Installation tutorial to learn more about installing WAMP on your computer.

In the case you want to use another web development environment, please, check the tutorials listed below.

When WAMP is installed, you can run it on your computer.

Preparing for WordPress Installation

The second step is to install WordPress. It requires some preparations, e.g.,  tuning up WAMP settings and creating the database, so we’ll need to do it before we proceed to installing WordPress engine.

  1. Click WAMP icon in the bottom right corner of the taskbar.  
  2. Select Start All Services option. WAMP icon should become green. This means WAMP has started on your computer and everything works properly. 
  3. Now let’s tune up its settings according to your needs. Check the needed WordPress engine requirements. Here they are:
    • PHP version 7 or greater
    • MySQL version 5.6 or greater
    • HTTPS support
  4. Open WAMP menu and navigate to PHP > Version tab. Here select the version that is needed for WordPress to work properly. 
  5. Then go to MySQL > Version tab and select the needed version mentioned in the requirements. 
  6. Now let’s open PhpMyAdmin tab. 
  7. You’ll see the Welcome to phpMyAdmin screen. Here you can select the language that is more convenient for you.
  8. Type in your database username (in most cases it is root). If you use phpMyAdmin tool for the first time, it is most likely that there is no password.
    So click on Go button leaving Password field empty. 
  9. Now that you’ve accessed phpMyAdmin Home screen, you need to create a new database to use it for WordPress. To do it click New option in the left column. 
  10. In the Databases tab locate Create database block. Here you need to fill in the database name (e.g., new). After that click Create button.  
WordPress Installation
  1. Now we’re almost ready to install WordPress.To do it, please, download the latest WordPress version to your hard drive. Unpack the archive. After that you’ll have wordpress folder with all the necessary files in it. Copy this folder to the clipboard.
  2. Now locate WAMP folder. Here navigate to www folder in it. Here you need to paste wordpress directory you’ve previously copied. 
  3. After that, please, click WAMP icon in the bottom right corner. Here click Localhost and access your wordpress folder through your browser (e.g., http://localhost/wordpress/). 
  4. If you’ve done everything correctly, you’ll see WordPress installation screen. 
    To learn more about installing WordPress, please, read Installing WordPress tutorial.
  5. Note, that in the Database field you should input the name of the database you’ve created in phpMyAdmin, and the database username should be root. If there was no password for the root user, then leave that field blank, as shown on the screen below. 
  6. When WordPress engine is installed, you’ll be able to access your website from your browser. Here type in the WordPress admin username and password you’ve set when installing WordPress. 
Theme Installation
  1. Let’s install the theme to your new local website. To do it you should place the theme folder into wordpress/wp-content/themes directory. 
  2. Then restart WAMP server and open Localhost to access your website.  
  3. Login to your website’s Dashboard using your username and password and navigate to Appearance > Themes tab in the left column.
  4. Now you can see the theme you’ve placed into wp-content/themes folder in the list of available themes. Click Activate button in order to activate it on your site. 
  5. Please, feel free to read Template Installation with Cherry Theme Wizard tutorial in order to learn about plugins and demo content installation.
  6. You can also import your existing demo content using phpMyAdmin tool. To learn how to do it, please, read  How to Change Database Prefixes and Import SQL file tutorial.

Now you can enjoy tuning up your website on local server! In the case you need to move your website from the local to live server, please, read How to Move Website From Localhost Server to Live Server tutorial.

Was this helpful?