Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Install WordPress on a Windows Computer (2 Methods)

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do you want to install WordPress on your Windows computer locally?

Working with WordPress on your computer allows you to test new WordPress features, learn how to develop with WordPress, and make websites before migrating them to the live server.

In this article, we will show you how to properly install WordPress on a Windows computer using two different methods. This will work on Windows 8, Windows 10, and other versions of Windows as well.

How to Install WordPress on a Windows computer

Why You Should Install WordPress on Windows?

Installing WordPress locally on your computer gives you a testing environment that doesn’t affect your live website or blog. A WordPress install on your computer is also referred to as a local server or localhost.

Normally, WordPress developers use local WordPress install to develop their WordPress plugins and themes.

Beginner users can also install WordPress on their computers to learn WordPress, test new WordPress themes and plugins, and experiment without affecting a live website.

Note: If you install WordPress locally on Windows, then the only person who can see that site is you.

If you want to make a website that is available to the public, then you need to have a domain name and web hosting. We recommend that you follow this guide on how to start a WordPress blog.

That being said, let’s take a look at how to properly install WordPress on a Windows computer. We’ll show you 2 easy ways, so you can click the link below to jump ahead to any section you’re interested in:

Install WordPress on Windows Using Local WP

Local WP, formerly known as Local by Flywheel, is a local web software that lets you host a website on your computer instead of a staging or live server.

First, you need to download and install the Local WP software on your Windows computer. Simply go to the Local WP website and click the ‘Download for Free’ button.

Download Local by Flywheel

After that, a popup window will appear where you’ll need to select your platform.

Go ahead and choose ‘Windows’ from the dropdown menu.

Choose Windows as your platform

Next, you can enter your details like first and last name, work email address, and phone number to download the software.

Upon entering the details, simply click the ‘Get it Now’ button.

Enter your details

After that, you can download the software on your computer. Once it’s downloaded, go ahead and launch the setup wizard.

Now you’ll need to select whether you’d like to install the software for all users or only you. Once you’ve selected an option, click the ‘Next’ button.

Choose user profiles for software

In the next step, you can select the ‘Destination Folder’ where the software will be installed.

Simply click the ‘Browse’ button to set the path and then click the ‘Install’ button.

Select your installation path

The Local WP software will now install on your Windows computer.

Once it’s done, you can check the ‘Run Local’ checkbox and click the ‘Finish’ button in the setup wizard.

Run local software

The software will now launch on your Windows device.

The next step is to add a new local website. To do that, simply click the plus (+) button at the bottom.

Add a new local site

After that, you can create a site in the Local software.

Go ahead and select the ‘Create a New Site’ option and click the ‘Continue’ button.

Create a new WordPress site

Next, you can enter a name for your local website like wordpresslocalsite.

There are also advanced options where you can enter the local site domain and local site path. If you’re just starting out, then we recommend keeping the default settings.

Once you’re done, simply click the ‘Continue’ button.

Enter a name for your site

After that, you will need to choose an environment for your local website.

You can use the ‘Preferred’ environment where the software will automatically select the PHP version, web server, and MySQL version. On the other hand, you can also select ‘Custom’ and enter the environment details.

For this tutorial, we’ll use the Preferred settings and click the ‘Continue’ button.

Choose an environment

Next, you can enter a WordPress username and password for your local website. Plus, there’s also an option to choose a WordPress email address where you’ll receive all the email notifications.

There’s also an advanced option where the software will ask whether you have a WordPress multisite network.

After entering these details, simply click the ‘Add Site’ button.

Select a username and password

The software will now install WordPress and set up your website.

To launch the local website, go ahead and click the ‘WP Admin’ button in the software.

Open WP admin

Next, you’ll see the WordPress admin login page.

Simply enter the username and password you entered earlier when setting up the local website and then click the ‘Log In’ button.

Login page example

You can now edit your local website on your Windows computer.

When you’re done, don’t forget to stop the website from the Local WP software by clicking the ‘Stop site’ button.

Click the stop site button

Install WordPress on Windows Using WampServer

WampServer or WAMP is a compilation of Apache web server, PHP and MySQL bundled for Windows computers.

All of them are separate open-source software. However, installing them separately is not quite easy even for experienced users. Software like WampServer allows you to easily install them and have a working local environment within minutes.

First, you need to download the WAMP software and install it on your computer. Simply go to the WampServer website and click on the ‘Start Using WampServer’ button.

WampServer site

It will take you to the downloads section. You’ll see two versions here: WampServer 32 bits and WampServer 64 bits.

You need to select the WampServer version that matches the operating system type of your Windows computer.

Select your Windows version

To find out whether you are using a 32 or 64-bit operating system, simply search for ‘Control Panel’ in the search bar in the Start taskbar.

After that, you can go to System and Security » System on your computer. There you will be able to see your System Type.

Check system type

Now that you know your Windows operating system type, simply select the correct WampServer software version.

When you click the download button, a form will open asking for your personal details. If you don’t want to provide this information, go ahead click the ‘you can download it directly’ link.

Download Wamp directly from the link

Once downloaded, you can click on the WampServer execution file to run the installation.

Now select a language from the dropdown menu and click the ‘OK’ button.

Select your language

In the next step, you’ll see the License Agreement.

Go ahead and select the ‘I accept the agreement’ option and click the ‘Next’ button.

Agree to license agreement

After that, the setup wizard will show information about the WampServer installation.

You can simply click the ‘Next’ button to continue.

Read general information and click next

Next, you can select the destination location where the software will be installed.

To change the default location, go ahead and click the ‘Browse’ button and choose your preferred folder. When you’re done, click the ‘Next’ button.

Select your destination folder

The setup wizard will ask you to select different components you’d like to install. These include the PHP versions, MySQL versions, and more.

You can also keep the default options and click the ‘Next’ button to move forward.

Select installation components

Next, you can select a start menu folder. Go ahead and click the ‘Browse’ button to choose a different folder.

Once you’ve selected a folder, click the ‘Next’ button to continue.

Select a start menu folder

The software will now be ready to install. You can see a summary of the destination location, setup type, selected components, and more.

Go ahead and click the ‘Install’ button.

Ready to install

During the installation process, you need to define the location of the web browser. By default, it will be Internet Explorer.

You can change that to Google Chrome or any other web browser by locating it in the Program Files of your computer.

Select a different browser

Similarly, it will also ask if you’d like to use Notepad when using WampServer.

After that, the setup wizard will show information about how WampServer works.

Go ahead and click the ‘Next’ button.

Read information on how to use WampServer

You’ve now successfully installed WampServer on your Windows device.

Simply click the ‘Finish’ button to exit the setup wizard.

Finish the setup wizard

Once installed, you can launch the WampServer from your desktop shortcut or from the destination location where you installed the software.

The next thing you need to do is to create a blank MySQL database.

On launching WampServer, you’ll see a green icon at the bottom right corner of your screen along with other icons. Simply left-click on it and then click on phpMyAdmin (a web-based application to manage MySQL databases).

Note: If the WampServer icon is red or yellow, then it means the services (Apache, MySQL, PHP) are not running. You need to start the services by clicking on the icon before setting up the database.

Open phpmyadmin from the taskbar

It will take you to the phpMyAdmin login screen on your web browser.

Simply enter the username: root and leave the password field blank. These are the default credentials to login into your localhost phpMyAdmin.

Login to your phpmyadmin panel

Click on the ‘Go’ button to continue.

Once logged in, you need to click on Databases in phpmMyAdmin to create a new database for WordPress.

It will ask you to choose a name for your new database (we named ours test_db). After that, click on the ‘Create’ button.

Create a database

Your database is ready which means you can now install WordPress on localhost.

The next thing you need to do is download the latest version of WordPress from the WordPress.org website. It will download as a zip file.

Download WordPress

Next, you need to extract the zip file and copy the ‘wordpress’ folder.

For this tutorial, we are using WinRAR to unzip the file. Simply click the ‘Extract To’ option at the top.

Extract WordPress files

Now you need to navigate to the folder where you installed WAMP.

In this tutorial, we installed WAMP in C:\wamp64, so we’ll refer to that folder going forward. However, keep in mind that it may be different for you depending on where you installed the program.

Paste the ‘wordpress’ folder into the C:\wamp64\www folder.

Paste WordPress folder to Wamp

You can rename the ‘wordpress’ folder to anything you want, such as mysite, testsite, etc. This will be the URL of your local WordPress site, so be sure to choose something you’ll remember easily.

For the sake of this tutorial, we renamed the folder from wordpress to mysite.

Next, you can open the web browser and go to http://localhost/mysite/ and click on ‘wordpress’ folder.

Go to the wordpress folder

First, it’ll ask you to select a language and then show you the database setup information.

After selecting a language, click the ‘Continue’ button.

Select a language

Next, you’ll see a welcome to WordPress notice.

Once you have read it carefully, go ahead and click on the ‘Let’s go’ button to continue.

Welcome to WordPress notice

After that, you need to enter your database details like database name, username, password, host, and table prefix.

The database name will be the one that you entered in the previous step. In our case, we called it ‘test_db’. The username will be ‘root’, and you can leave the password field blank. You can also leave the database host and table prefix as-is.

Enter username and password

Next, click on the ‘Submit’ button and WordPress will create a configuration file for you in the backend.

On the next screen, you will see a success message stating that WordPress is connected to your database, and you can proceed with the installation.

Go ahead and click on the ‘Run the installation’ button to continue.

Click run the installation

It will take you to the welcome screen for WordPress. You need to add a title for your new WordPress website, choose an admin username, enter a strong password, and provide an admin email address.

Once you’re ready, click on the ‘Install WordPress’ button.

Enter login information

After the installation process is complete, you’ll see a success message. In the background, WordPress has created new tables in your database and it’s ready to use.

You can then proceed to your WordPress dashboard by clicking on the ‘Log In’ button.

Log in to your admin panel

Congratulations, you have successfully installed WordPress on a Windows computer using WampServer.

Simply login to your WordPress admin panel and start editing your site in a local environment.

Logging into a local WordPress website

Enabling Pretty Permalinks in WAMP

The new version of WordPress doesn’t break your local site by changing the permalinks setting.

However, if you still see the ‘page not found’ error on your pages after changing the permalinks from Settings » Permalinks in WordPress, then simply follow our guide on how to enable custom permalinks in WAMP.

Bonus: Migrating WordPress from Local to Live

We’ve also written a separate guide on how to move WordPress from local server to a live site. Hopefully, you’ll find it helpful when you are ready to deploy your local site to production.

Having a local server environment is great for learning and testing purposes. However, if you want to start a WordPress blog for other people to see, then you do not need to install WordPress on your computer. You need to install WordPress on a WordPress hosting provider.

We hope this article helped you learn how to install WordPress on a Windows computer. You may also want to see our guide on WordPress SEO and how to start an online store.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

767 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Stephen Rea says

    Thank you… It feels great to be learning new powers.. WP and WAMP now on desktop… Now to learn WP !

  3. Manuel says

    Absolutely outstanding! Had an issue with C++ 13 & 14 but it was so well explained and pointed me in the right direction that I was able to solve it and now I have a development WordPress environment on my Window 10 laptop. THANK YOU VERY MUCH

  4. Jonathan says

    Do I need have basic in knowledge coreldraw and or photoshop to become a professional web designer.
    Thanks for your sincere answer.

  5. Michael Gyori says

    Greaet tutorial, thanks!

    One suggestion. Mention the Skype Port 80 issue right at the point when it would be encountered in your tutorial. Having it mentioned at the end was not helpful because I already spent considerable time trying to figure out what was going wrong. A simple note saying: “If your browser screen is blank when selecting phpMyAdmin, then you may have a conflict with Skype (see below).”

  6. mark k says

    Thx for the tutorial – ran in to problems starting WAMP (blank page on localhost/phpmyadmin), on wins 10 www service was running stopping apache, so ran services.msc and stopped that.

    Only other problem happened when wp tried to create config – by default it self completes txtBox with “password” so just remember to delete it. simple fix but had me stumped for 2 mins.

    once again thx

  7. Frank George says

    please i need urgent help as i would love to move my site live….i am running wordpress through my local host using Microsoft web matrix through IIS7…how do i do it please…i need help urgently!

  8. ahmed says

    Hi

    I have plant to installed WordPress on wamp windows based server.who is right person to contact if I find any problem. Please let me know.

    Thanks in advance.

    Ahmed

  9. Johari says

    Thank you for simplifying the manual. The steps you provided are easy to follow. Keep posting great articles!

  10. Ahmed says

    When i tried to start wamp, its giving me an error that vcruntime.dll is missing… Please any solution?

  11. Ruben Tahir says

    Trying to run phpMyAdmin for the first time, I am prompt to enter user name and password. I suppose there must be a default user name a password. What are they or how to setup my own?

    • Ruben Tahir says

      Just found out by simply googling. the username is root and no password.
      You should mention that in your tutorial.

  12. J Robinson says

    My WAMP-64 was installed some time ago on my D: drive. I just added WP. When I point the browser to http://localhost/wp-admin/ (changed the WP folder name back), I get:
    Warning: require_once(D:\wamp64\www/wp-load.php): failed to open stream: No such file or directory in D:\wamp64\www\wp-admin\admin.php on line 31
    and
    Fatal error: require_once(): Failed opening required ‘D:\wamp64\www/wp-load.php’ (include_path=’.;C:\php\pear’) in D:\wamp64\www\wp-admin\admin.php on line 31

    Should I just delete everything and start over, or is there a configuration to fix this?

  13. Dipankar Ray says

    Thanks for the step by step info. However, I am not sure how to create a Database as very time I click on the Wamp icon and then phpMyAdmin, I am getting a blank new browser window with ‘http://localhost/phpmyadmin as the URL..

    Therefore,I can’t proceed to the next step which is to click on Databases and thereafter create a database for WordPress.

    Please help and point out if I am not on the right path.

    Thanks.

      • Dipankar Ray says

        Thanks for your suggestion of using the URL above. I had overcome my previous issue and was able to proceed. However, after that I came across other issues like MySQL errors and decided to uninstall WAMP server from my computer.

        By the way, my OS is Windows XP.

        Now on trying to re-install after downloading this software I am receiving the following error message. ‘ Aestan Tray Menu has encountered a problem and needs to close.We are sorry for the inconvenience.’. This has happened over three times. Thanks.

        Please help as I am not sure where I am erring.

        • WP Complete Beginner says

          Pretty sure that you have Microsoft IIS running which is causing this mess. Happened to me. Go to the WAMP > Apache > Test Port 80 option.

          It will blurt out something like Port 80 wrong service is running. The real service that’s running is MS IIS X.0

          Launch cmd as admin and type iisrest / stop in the command line.

          Then go to WAMP > Apache > Service Administration > Install Service
          Finally, Then go to WAMP > Apache > Service Administration > Start Service.

          It should work! Let me know if my comment helped you.

  14. Fawaz says

    Thanks a lot. Had to fix some errors and finally it worked. Very nice guide through. Already bookmarked.

  15. ART says

    I’m an advanced beginner using Vista SP2. I think I am running both 32 and 64 bit. I had a big problem with VCRunTime140.dll missing error. First I tried Wamp 64bit, then Wamp newest 32bit, then confirmed VCRunTime140.dll was installed in my Windows\System32 folder and confirmed my updated Firefox was in the Programs(86) folder. Still had the *.dll missing error. Then tried the older Wamp 32bit. Problem solved.

    2 more errors I made were to copy the WordPress folder without extracting it. Then deleted where I copied it and properly extracted it before copying. But I copied it to Wamp instead of Wamp\www

    After I deleted it from the second wrong location, I copied it to Wamp\www and things worked great after that.

    Hopefully a little helpful to call out some beginner errors to prevent others’ headaches.

    • Visata requires Wamp Version 2.5 says

      Recently Wamp and Google Maps versions or settings have changed. Vista SP2 cannot run the latest Wamp, Stay with Version 2.5, specifically MYSQL 5.6.XX (I found xx=17 but some places say xx=26 is available.)

      Thank you so much for these instructions!! Other lists of instructions are very difficult and not very useful.

  16. Sid says

    Probably being dumb, but how do i see my web site project again and work on my site? To open it again I selected the ‘wamp’ icon, it opened a dashboard where I could see my project folder, I double clicked to open it, but instead of my site I got a page that said error my page cannot be found. I could not see the wordpress dashboard when I selected the wamp icon or any option to open wordpress. Can you please advise? Thanks.

  17. Nicko Johnson says

    After clicking on phpMyAdmin its saying the site can’t be reached. What could be wrong?

  18. Sid says

    Just want to say thank you! I have never done anything like this before and your steps were very useful and easy to follow

  19. Maya says

    Struggled a bit with Wampserver installation but finally everything went smooth. Thanks for the step-by-step explanation.

  20. Gold says

    Thank you so much!!!! You’re all shades of amazing.. This tutorial was super super helpful. Everything worked perfectly. Thanks again!

  21. veena says

    after wp_config file it is sudenly showing following error.
    Error establishing a database connection
    I have created a database , mysql , apache , php are all working, how find out solution for this?

    • Suzi says

      I was getting the same error because I was not using a password, and I forgot to remove the word “password” where it asks for MySQL password on the previous page!

  22. Erling Bergan says

    I have followed the instructions, and everything has looked fine. I have clicked on the Wampserver icon, and then clicked on phpmyadmin. A browser window opens, but there is no phpMyAdmin in it. The web page is blank. Could you give me a hint of what may be wrong?

    • Suzi says

      I was having the same issues .. there are so many reasons that this could be happening. did you follow ALL of the instructions, including the VISUAL downloads and skype and port 80 issues? I got to the point where my icon was green and still would not work, so I uninstalled it and used the 32 bit version even though I have 64 bit on my pc. Then it worked!

  23. Jeremy says

    Hi, what if I have an instance of Acquia Dev Desktop (Drupal) on my local machine? Installing this wont be an issue?

    Thanks

  24. Paul Gomez says

    Hello, right now I am trying to set the WAMPserver, but in i see 4 versions 2 for 32 Bits and 2 for 64 Bits. Which of the two versions should I pick? I am a bit confused what the difference is from the 2 versions. I see the Apache, PHP and MySQL versions are different but I am not sure.

        • Jason says

          This has to do with the size of the data types the processor can handle and the size of the memory addresses it can hold in it’s register. 64 bit applications can utilize more RAM because they can utilize exponentially more of those addresses, but unless you are writing your own ‘big data’ type of applications or using plugins that need the extra memory then it’s almost completely irrelevant to you. You won’t notice the difference either way, so just pick one.

        • Phil says

          Any answer on this? I have the same question. I know I want 64 bit, but what PHP version should I choose?

    • HV says

      The two 64bit installs have different software versions.
      Apache : 2.4.17 MySQL : 5.7.9 PHP : 5.6.16 on one
      and Apache : 2.4.9 MySQL : 5.6.17 PHP : 5.5.12 on the other.
      The two 32 bit versions are similar

      They are giving you options in case your development environment
      needs a particular version of Apache, PHP or MySQL

    • David says

      I get the same error 404 page when clicking phpmyadmin. Any resolution here? I do not have skype on this computer.

  25. Michael says

    It is not clear to me whether I must set up a database first, or can I simply import my current live back up of the blog, and then work on it locally.
    I sort of expected to import the existing word press blog to my local hard disk, and the import process will then create all the tables and the databases.

    Thanks

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WPBeginner Assistant
How can I help you?

By chatting, you consent to this chat being stored according to our privacy policy and your email will be added to receive weekly WordPress tutorials from WPBeginner.