How to Install WordPress Locally on Windows
On sometimes, you may find that using WordPress locally is more convenient. However, you may be wondering if you can handle it on your own or if you need assistance if you are unaware of how to install WordPress locally.
Are you aware that installing WordPress locally only requires a few easy steps? A local WordPress setup can be used to test new features, build a WordPress website before going live, and experiment with development projects.
You can use DesktopServer, WAMP, XAMPP, or MAMP to install WordPress locally on Windows and Mac computers by reading this text.
Let’s start!
An Introduction to Installing WordPress Locally
Installing WordPress locally has a number of advantages. For instance, you could need a local install to carry on working if you are traveling and cannot connect to Wi-Fi.
Additionally, a local install can function more quickly when you wish to work with files and modify locally. There is minimal setup required to get the local install up and running.
On your computer, you must first set up a local AMP stack before installing WordPress locally. AMP stands for Apache, MySQL, and PHP in WordPress. These programs are required in order to mimic the web server software utilized by a managed WordPress host.
You can do this using several methods. WAMP, XAMPP, and MAMP are the commonly used options.
But, they are designed in such a way that they can work with variety of other software and tools and need a bit of learning. Therefore, let’s first introduce you to DesktopServer, which was actually designed and optimized specifically for WordPress as a local AMP stack.
Steps to Install WordPress Locally With DesktopServer
DesktopServer is ServerPress’s WordPress product that makes it easy for you to install WordPress locally:
ServerPress’s WordPress offering DesktopServer makes local WordPress installation simple:
A single button click can initiate a fresh development install in a matter of seconds. It is compatible with Mac and Windows and has support for multisite and WP-CLI.
Free as well as premium versions are offered by ServerPress. In premium version you will get some advanced features such as:
- Multisite support
- Import and export of third-party backups
- Deployment directly to your live site
- Bypassing any login plugins
You can select the version that fits you best depending on your needs. For quick testing, the free version works well.
Step 1: Download DesktopServer to Your Computer
You must first download DesktopServer from its website in order to install WordPress locally. There are two versions available: one for Mac and one for Windows. We will utilize the Windows version for this example.
Visit the ServerPress website and select DesktopServer by clicking the Free Download (or Purchase Premium, if desired) button in the upper right corner:

With this, the .zip file will be automatically downloaded to your computer.
Step 2: Launching the DesktopServer Installer
After downloading the file, launch the DesktopServer installer. Before that unzip the file you just downloaded. Be patient till it gets complete.
Then click on Install DSL:

At first, you will be asked to restart with administrator privileges. Select Continue. Next you will be asked to accept the terms of services, and select an option for your installation:

Keep the New Desktop Installation selected and click on Continue. The installation process will start and it may take few minutes to complete.
After it’s done, a popup will appear with a message saying that the installation complete. You will also know the location of the application in your computer directory. Once done, click on Finish.
Step 3: Enabling Plugins and Starting Apache and MySQL Services
After the installation is complete, a multitude of different developer plugins can be enabled:

Below is a quick recap of developer plugins that can be used when you install WordPress locally. The bypass login and DS-CLI plugins are highly recommended.
- Airplane mode: You can control loading of external files when you develop locally.
- Bypass login: As a developer you get bypass of login credentials, via quick selection of any of the first 100 usernames in a combobox.
- Clean Import: It allows you to reset .htaccess and clears cache from third-party hosts.
- Debug and Trace: Forces WP_DEBUG = true, and allows cross-platform/language trace statements in PHP and JavaScript.
- Dreamweaver Support: It allows you to create automatic Dreamweaver project file, and a WYSIWYG mode when you work on template files and style.css.
- DS-CLI: It is a cross-platform, enhanced, command-line interface for professional developers. You can easily use CLI, Git, Composer, and PHPUnit. NodeJS and NPM are included to enable installation of Gulp, GRUNT, and other Node dependencies.
- DS-Deploy: It is used to move a site from a local DesktopServer install to a live server.
- InnoDB Autoconvert: You can convert a site’s tables to InnoDB on operations such as Create, Copy, Move, and Import.
- Local Admin Color Bar: It allows you to change the Admin bar color.
- Mailbox Viewer: It offers quick developer offline viewing of mail delivery services.
Remember that some of these options are only available with the premium version. Once done, select Next. Then you will be asked if you want to start web and database services, so hit Next again.
Step 4: Creating a New Development Site
After you have enabled plugins and started the web and database services, you will be prompted for selecting Create a new development website:

Here the program will install WordPress for you. Select your site’s name, which will also be its local address. We are using here “testabc”, so our development URL will be “testabc.dev” on our local machine:

DesktopServer is comparable to a pre-built template in that it enables you to really develop alternative blueprints. However, we would want to have a new installation here.
With the most recent version of WordPress installed, DesktopServer is the default blueprint. Therefore, you do not have to bother downloading and unzipping it by yourself from the repository.
By default, the site root is found in your My Documents folder. You can leave it this way if you do not find it objectionable. However, in order to simplify things, we moved them to a “wordpress” folder that was made on the C: drive’s root.
After finishing, select “Create.” The URL of your local WordPress installation will then appear. In order to finish the installation, click that.
Step 5: Installing and Configuring Your WordPress Site
After clicking on the above mentioned linked, your local WordPress site will open in a browser tab:

Select your language and click on Continue. You then need to enter your site a title and select a username (in case you want to make the site live later, avoid using “admin” as a username), type a strong password, and your email address:

Then, select Install WordPress. That’s it! You have now installed WordPress locally and your site is up and running.
Browse to your local install and test for if your site is working.
Here, we’ll browse “testabc.dev” in our browser’s address bar. Due to the bypass login plugin feature selected during setup, you will get a dropdown menu where you can select the admin and be automatically logged in.
Obviously you won’t be using it on the production site, but it’s easy for a dev environment.
Tips for Using DesktopServer for Installing WordPress Locally
The way Windows manages its file permissions, you may or may not see a message when you log in about WordPress failing to update:

To resolve this issue just open up the command prompt as an administrator and run the below command within your WordPress directory folder:
attrib -s *.*

If you want to create additional WordPress sites or edit them, just launch the DesktopServer.exe file again. You are allowed to stop and restart services, create new sites, edit them, export and import them, etc. To access phpMyAdmin, click on the Sites button on the bottom left:

Another way is to enter “localhost” into your browser’s address bar. This will display the administrator interface on the localhost:

There, you will see the links to all of your WordPress sites, along with the dashboard links and phpMyAdmin links.
The next best feature is that you can launch WP-CLI (or DS-CLI) with a single click. In case you selected the DS-CLI option during the setup process above, you will get a link for it within your dashboard. Just click on it and you can start running WP-CLI commands.
DesktopServer also offers an export feature, so that you can export your WordPress site directly to a live site or .zip file. But this feature is can be used only on the premium version.
In this way, you have now learned to install WordPress locally using DesktopServer.