Here’s how to install WordPress locally on your Windows or Mac computers

Without a doubt, WordPress is the most popular content management system for hobbyists and professional webmasters alike. It makes up 25.4% of all websites in the world along with 76.5 million blogs since 2004.

Due to its unprecedented popularity, most web hosting companies offer 1-click WordPress installer apps right from the control panel – allowing users to start building the website within minutes.

This process works by installing WordPress directly into your web server. And since it’s hosted online, you can access your dashboard from anywhere as long as you have an internet connection.

Sure, being able to access your WordPress site from any device is handy, but installing the CMS locally on your computer also has some advantages:

  1. Accurate Speed ​​Testing – Testing your website without depending on internet connectivity will help you scale accurately
  2. Personal Backup – If you design and develop your site locally, you always have a personal backup at hand.
  3. Better Design Process – WordPress offline allows you to make design changes without affecting the experience of live visitors.

Need help setting up your WordPress website?
WHSR now partners with to help users who need professional WP development/customization services.

To receive a free quote, please fill out this inquiry form.

Follow the instructions below to install WordPress on your Windows or Mac computer:

To install WordPress on a Windows PC, you need to use a program called WAMP, which you can download from your PC official site.

Note that WAMP comes in two versions – 64-bit and 32-bit. To determine which version is compatible with your PC, go to Start > Settings > System > About (for Windows 10 users) or Start > Run, type “sysdm.cpl” and click the “General” tab .

A notification will appear that you will click the download button for the appropriate version. Go ahead and click “Download Directly” to continue.

Download directly

Once the download is complete, proceed with the installation by following the on-screen instructions. Read everything carefully as WAMP has very specific requirements to be installed correctly. Below are some tips:

  1. Run the installer with administrator rights (right click > “Run as administrator”).
  2. Make sure you have the updated VC9, VC10, VC11, VC13, and VC14 redistributable packages. The download links for these are included in the installer.
  3. Conclude Skype before installing and using WampServer.
  4. Disable IIS.
  5. Install WAMP to the root of your primary local hard drive. For example, the installation directory should be under “c:wamp” if Windows is installed on the local hard drive (“C:”).
  6. Don’t forget to check “Create a desktop icon” so you can easily access WAMP later.

When choosing your default browser, remember that you will need to navigate and locate the .exe file. A good strategy is to right-click your browser’s desktop shortcut, click Properties, and go to the Shortcut tab. The location of the .exe file should be in the “Target” field.

After the successful installation and launch of WAMP, look for the “W” icon in your system tray notification area. When this icon is red, it means the WAMP server is currently offline. Green, on the other hand, indicates that the server is fully online. If so, you can now access your server by typing “localhost” or in your web browser. You can also click the “W” icon and then click “Localhost”.

On your main WAMP information page, under Tools, click phpMyAdmin. This allows you to manage and create a database for your offline WordPress installation. Alternatively, you can enter in your web browser.

To create a new database in phpMyAdmin, go to “Databases” in the main menu. You can use any name, but it’s better to use an identifiable name like “WordPress-Local”. Note that the database name is not case sensitive.

Install WordPress

The next step is to download WordPress from her main site. Remember that the download comes in a compressed folder format. You just need to extract the WordPress folder in the “www” subdirectory of WAMP. For example, if you installed WAMP in “C:wamp”, you need to extract the WordPress folder in the “C:wampwww” directory.

To load WordPress go to http://localhost/wordpress/. First, you will be prompted to need a wp-config.php file. Just click “Create Configuration File” to continue.


When you’re done, you can proceed with installing WordPress as you would with any web hosting platform. Remember to use “localhost” as the database host and use the correct database name you provided earlier. When it comes to your MySQL username, use root and leave the password blank.


Installing WordPress on a Mac PC

Finally, installing WordPress on a Mac PC involves the same steps. But instead of using WAMP, you need to use another software known as MAMP. Just like the previous one, you can download this one directly from yours official site.


After installing MAMP, make sure to configure the app to use Apache port 80 and MySQL port 3306 first. This will allow you to start your local website at the address http://localhost. Just go to Settings > Ports and enter the correct values.

MAMP ports

Remember that you must create one Apache Server, so make sure this option is checked when creating your document root. You can then run the Apache and MySQL servers using the main app.

To create a new database using MAMP, click “Open Home” and then go to “phpMyAdmin”. From there you can follow the similar steps from the WAMP tutorial as shown above.


There are numerous advantages to installing and using WordPress locally. Don’t forget to follow the instructions above very carefully to ensure a successful installation.

Previous post WordPress Tutorial – Install WordPress on PC/Windows
Next post Install WordPress shop on Windows » Installation, Plugin, Tool, Website, WordPress » Windows FAQ