Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
WordPress Plugins
View all Guides

How to Install WordPress on your Windows Computer Using WAMP

Last updated on by
Follow WPBeginner on YouTube
How to Install WordPress on your Windows Computer Using WAMP

Did you know that you can install WordPress on your personal computer for learning and testing purposes. The process of installing WordPress on your personal computer is also known as setting up a local server environment or localhost. Often theme designers and plugin developers install WordPress on a local server environment to speed up their development process. An average user can use the local server environment to test plugins and/or make changes to the site before making it live for their audiences. In this article, we will show you how to install WordPress on your Windows computer using WAMP.

Note: If you install WordPress locally on your computer, then the only person who can see that site is you. If you want to have a live WordPress site available to the public, then you need to have a Domain and WordPress Web hosting. We recommend that you follow this guide on how to install WordPress.

What is WAMP?

WAMP or WampServer is a compilation of Apache web server, PHP and MySQL bundled for Windows computers. Basically, you need WAMP to setup your own local server environment and install WordPress on Windows. There are other clients for Windows such as XAMPP, but we use and recommend WAMP. It is free and easy to use.

Installing Wampserver on your PC

First thing you need to do is go to WampServer website and download the latest WampServer. You will be presented with various options on their download page. Simply choose the one that applies to your Windows (64-bit or 32-bit). When in doubt, select the 32-bit version because it will work on 64-bit versions of Windows.

Once you have downloaded WampServer, run the installation program and follow on-screen instructions. At one point during the installation, WampServer will ask for the location of the default web browser. By default it will use Internet Explorer, but you can change that to Google Chrome or Firefox by locating the browser in Program Files.

Installing Wampserver

Once you are done with the installation, launch WampServer.

Setting Up a Database for WordPress

WampServer comes with phpMyAdmin, a web based application to manage MySQL databases. Click on the Wampserver icon in windows taskbar and then click on phpmyadmin.

launching phpMyAdmin in Wamp

phpMyAdmin will open in a new browser window. Click on Databases in phpmMyAdmin to create a new database for WordPress. Choose a name for your database and click on Create button.

Creating a database in phpMyAdmin for WordPress

Installing WordPress on Windows with WAMP

Download a copy of WordPress from Extract the zip file and copy the wordpress folder. Go to C:\wamp\www and paste wordpress folder there. You can rename the wordpress folder to anything you want for example mysite, wpbeginner, etc. For the sake of this tutorial, we renamed our wordpress directory to mysite. Now open a web browser and go to:


WordPress will inform you that it can not find a wp-config.php file. Click on the Create a Configuration File button to create it.

Create wordpress configuration wp-config file

On the next screen, you need to provide your database information. The database name will be the one that you selected. In our case, we called it test_db.

Please note that your default database username will be root and leave the password blank. Click on the submit button and WordPress will create a configuration file for you.

Provide your database information to install WordPress on localhost with WAMP

After this you will see a screen informing you that WordPress has successfully created the configuration file, and you can proceed with the installation. Click on Run Install button.

Run WordPress Installation Script

On the next screen, fill out the installation form. You need to provide a title for your website, choose an admin username and password, and provide admin email address. Finally press the Install WordPress button.

WordPress Installation Page

WordPress will quickly run the installation and create database tables. Once done, you will see a success message after the installation. You can then proceed to your WordPress by clicking on the Log in button.

Troubleshooting WAMP Skype Error

If you have Skype installed and running then WampServer may not be able to work properly due to a conflict with Skype. The conflict is caused by both Apache and Skype using the same port 80. There is a simple fix for this problem. Open Skype and go to Tools » Options. Click on Advanced and then Connections. Uncheck the box that says Use port 80 and 443 as alternatives for incoming connections. Save options and restart Skype.

Fixing Wamp / Xampp Skype Conflict

Enabling Pretty Permalinks in WAMP

Pretty permalinks will not work by default on your local server environment. All your URLs will look like localhost/mysite/?p=18. If you go to Settings » Permalinks and use one of the other opttions, then it will show you “page not found” errors. We have already written about a solution here that will show you how to enable custom permalinks in WAMP.

Migrating from WAMP to Live

After numerous request via twitter, facebook, email, and comments in this post, we have written a guide on how to move WordPress from WAMP local server to a live site. Hopefully you guys will find it helpful when you are ready to deploy your local site to production.

We hope that this article helped you install WordPress on your Windows computer using WAMP. Having a local server environment is great for learning and testing purposes. Remember, if you want to run a blog for other people to see, then you do not need to install WordPress on your computer. You need to install WordPress on a web hosting provider. If you have any questions, then please feel free to ask in the comments below.

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »


  1. naveenraj says:

    hi sir,

    The icon says in orange colour and i getting blank pages when i go for localhost/phpmyadmin/ page, Please help t resolve this.

  2. bella says:

    “Go to C:\wamp\www and paste wordpress folder there.”

    I can’t seem to find anywhere that accepts my wordpress folder. Does anybody have more detailed description to do this step for me? Thank you very much for all you sharing people

    • Ayesha says:


      Once you go to and install wp, you will have a wordpress zip folder, extract its contents and it would create a wordpress folder, open this folder and copy the folder named wordpress. Now goto your wampserver folder and then open www folder that lies insides wampserver folder, paste the folder wordpress over there i.e. inside www folder.
      You just have to copy your wordpress folder and paste it in the www folder of wampserver.

      Hope that helps!

  3. Kush Singh says:

    Really it’s very helpful site for installing wordpress.
    Nice work guys keep it up…

  4. Satish Shihani says:

    Superb….. I really like this
    On my first attempt only, i done all installation without any error

    Thank you so much for this tutorial

  5. Amir says:

    Smooth and fun, worked like a charm. I had only one problem which was resolved by shutting down a certain Microsoft product… :-)
    Thank you.

  6. Paul says:

    Great tutorial glad I found it as I am just learning how to use wamp and my local server to build wordpress sites. I would also like to copy a live wordpress site to my local server so I could modify a theme, then reload it to the remote server and was wondering if there was a tutorial on how to do that? I have found and read the tutorial on uploading a site from my local server to the remote one but nothing on copying a live site to the local server and getting it to work. Is this possible and if so, do you have a tutorial on how to achieve it successfully? Thanks in advance.

  7. Kvaibahv01 says:

    Hey there,

    I had created a WordPress blog earlier this month and my WAMP server was uninstalled due to some reasons….I reinstalled it>did all the same steps> named the ‘wordpress’ folder to ‘site’> opened localhost/site/wp-admin which says :

    Welcome to WordPress. Before getting started,………………………….before proceeding.

    Database name
    Database username
    Database password
    Database host
    Table prefix (if you want to run more than one WordPress in a single database)
    We’re going…………We got it.

    In all …………… all ready…

    I clicked ‘Let’s go’ button which opened ‘Setup config.File’ entered my DB name ‘site’> ‘username’ and ‘password’ I edited on ‘wp-config-sample.php’ and changed username to blank and same with password too> Click next and now it shows me an error “Can’t select database”:

    We ………………. database.

    Are you sure it exists?
    Does the user have permission to use the site database?
    On some systems the name of your database is prefixed with your username, so it would be like username_site. Could that be the problem?
    If you don’t know how to set up a database you should contact your host. If all else fails you may find help at the WordPress Support Forums.

    Please help!

    • WPBeginner Support says:

      Visit localhost/phpmyadmin to confirm that the database name you entered is correct.

  8. Geraldine says:

    Hello. I hope you can help me with this. After I created the test site, how can I share this to my friend via online?

  9. Rhian Williams says:

    thank you so much for this I have been battling with localhost software all day and this worked first time for me :-)

  10. moneytechnicals says:

    Ive installed WAMP in windows 7 32 bit. And want to use wordpress. But its not showing to create configuration file. Its showing an error like this-

    require(C:wampwwwwordpress-trunk/wp-blog-header.php): failed to open
    stream: No such file or directory in
    C:wampwwwwordpress-trunkindex.php on line 18

    Please help me to get out of this. Thank you in advance.

    • Campbell Sinclair says:

      Hello and to anyone who googles this error and is stuck like I was on this,

      You likely downloaded the zip installer and extracted them, maybe cancelled it some point because the extraction / transfer of the folder inside was slow. I’m not sure what happened, not the point either.

      This error occurs when not all the files are present. Try and hunt down wp-blog-header in your WordPress folder directory with a simple search. The index page (one that is first loaded by a browser when it opens a directory) is only asking for this file but it simply won’t be there with it in the directory. Index.php is asking for wp-blog-header and everyone else said I’m not the file you’re looking for.

      I downloaded the version prior and it was complete because I had the installation page as expected. This is the quickest and certain fix. If you do this, you will should be able to upgrade to the latest once you have installed as well.

  11. WPBeginner Staff says:

    Yes you can.

  12. ArtaGene says:

    Since I didn’t see any specs listed, not sure my old computer will have enough memory…can I install on a portable drive (connects with USB) and use that way ?

  13. WPBeginner Staff says:

    Seems like WAMP didn’t install correctly on your computer. Try installing again or try XAMP.

  14. jerry says:

    I get this error right at the end of the installation.

    httpd.exe – system error

    The program can’t start because MSVCR110.dll is missing from your computer. Try reinstalling the program to fix this

  15. nikhil says:

    i have install wamp server but when i am going to phpMyAdmin it is showing error like this:-


    You don’t have permission to access /phpmyadmin/ on this server.

  16. Roshan Bagdiya says:

    #1045 – Access denied for user ‘root’@’localhost’ (using password: NO)

    while accesing phpmyadmin
    how to resolve it

  17. WPBeginner Staff says:

    Please make sure that the Wamp server icon in your taskbar turns Green before you click on phpMyAdmin. You can also try manually accessing phpMyAdmin by typing this URL in your browser’s address bar http://localhost/phpmyadmin/

  18. Diviya says:

    Followed your procedure step wise. Now when I try to setup database for WordPress, when I click on phpMyadmin I get error ‘HTTP Error 404. The requested resource is not found’

  19. Syed Balkhi says:

    Done – thanks for the suggestion.

  20. Carrie says:

    FYI, the “Skype” error also happens with a similar program called Team Viewer. A similar simple fix, going in to the program and changing the checkbox regarding ports 80 and 443. I agree with others, if nothing else you should put a link to the troubleshooting info in the article right after the WAMP installation. I got frustrated that I kept getting an error, and decided to look through the comments until I found a solution.

  21. Anand Upadhyay says:

    Suggested edit. Please replace




  22. Aditya Pranav says:

    Done all thing , but when I click on phpMyadmin the an error page will open in browser and that is :-
    HTTP Error 404.0 – Not Found
    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

  23. Derick says:

    Howe about adding a tutorial that continues from this one on how to add multiple websites to be worked on offline like the above one.

  24. Vijay says:

    Thanks so much for this. It worked for me.

    My only complaint is that the skype error should have been right after the WAMP installation part. I spent a lot of time figuring out how to get the WAMP icon to go green instead of orange. Ultimately found out that IIS 8.5 was using port 80 and that I had to stop WWW publishing services from Services.msc and restart the Apache on WAMP to get it to work.

  25. M♥ηyαηє Ramołło™ says:

    Great tutorial

  26. Jim says:

    Great tutorial. Big thanks. Only you should post the info on Skype port before in the beginning, as I did everything by myself and changed the port number in wamp folder. Then here I found out that there was easier way doing it on Skype ;)

  27. lobsterhands says:

    Great tutorials. Thank you for being so clear and concise.

  28. Lis says:

    Fab article! I’m all installed and working. However, any additional pages I am creating over and above the home page don’t work. I am creating the page in WordPress, but when following the ‘View’ link, I get a 404. Any idea?

  29. pramod says:

    Downloaded everything. when i write on web http://localhost/mysite/ but display error

    The requested URL /mysite/ was not found on this server.

  30. Monica says:

    Very helpful thanks.

  31. St. Buzo of C.O.B. ® says:

    Bingo..!! this was so helpful.!! Phase one done i have installed..!!

  32. anbu says:

    dear sir,
    this blog is very usefull to per your instruction i create a website locally. but when i try to open the same site from different machine in tha same lan i can’t.please guide me.
    i tried via this following method in another computer

    the site is not opening

  33. anbu says:

    dear sir,
    this blog is very usefull to per your instruction i create a website locally. but when i try to open the same site from different machine in tha same lan i can’t.please guide me.
    i tried via this following method in another computer

    • Lyle Denman says:,121118

      This should answer many of your questions. Know that you will also have to update your database’s options (from localhost/phpmyadmin/). wp_options > siteurl and wp_options > home should be changed from http://localhost/database_name to http://your_local_ip_address/database_name (for example

      Make sure you open c:/wamp/bin/apache/apache2.4.9/conf/httpd.conf

      In that file, after the line reading: # onlineoffline tag – don’t remove, add the following 2 lines:
      Require all granted
      Require ip 192.168.0 (or whatever the first 3 groupings of your local ipv4 address is)

      Then, in the same file, find the line reading: #Include conf/extra/httpd-vhosts.conf and remove the # from the beginning of that line.

      Then, open the file c:/wamp/bin/apache/apache2.4.9/conf/extra/httpd-vhosts.conf and comment out the code that is there (just to keep defaults around) and past the following:

      ServerName localhost
      DocumentRoot c:/wamp/www

      AllowOverride All

      Save those files, restart all WAMP services and enjoy your LAN development.

  34. Lina says:

    This post was VERY helpful!! Thank you very much!

  35. WPBeginner Staff says:

    First you need to uninstall wampserver completely from your computer. Then download a fresh copy and try to reinstall. If this does not work out, then we will recommend you to use XAMPP which is an alternate software with nearly the same software (Apache, php, mysql).

    • Jokerman says:

      I tried EasyPhP too but that didn’t work either. Have just installed Xampp and that appears to be working. Thanks very much for the advice.

  36. Jokerman says:

    I have downloaded and attempted an install. It didn’t work as I was missing a dll file. Have downloaded the necessary software from MS and this time the install appeared to have gone well…no error messages and the Wampserver icon has appeared on my desktop as requested. However when I click on the Wampserver icon it asks: Do you want to the following program from an unknown publisher to make changes to your computer? (Program name: wampmanager.exe) Clicking on Yes causes that window to close then nothing happens. Do you have any clues as to what to try next please? Thank you

  37. cmills says:

    The latest version of wamp uses PHP 5.5.12 which isn’t compatible with WordPress!

  38. WPBeginner Staff says:

    That’r probably because your site is served at 127.0.01 which is a local loop address while the other ip address is your lan address. They are two different things.

    To enable sharing you need to add this line to your httpd.conf file Listen make sure your computer is using static ip and it is set to use the ip address you enter in apache configuration file.

    You will also need to make sure that WordPress saves your IP address as your sites URL not localhost. To achieve this you would need to install wordpress from instead of localhost/mysite

  39. Naresh says:

    Thank you very much.

  40. archetypechris says:

    Hello, and thank you for the amazing guide! I have a small
    problem. Everything worked find when I followed the guide and my site loads up
    fine, but when I try to connect to it from another computer in my house with
    address:, it says I don’t have permission to view the page.
    Does anyone know how to fix this? Thank

  41. WPBeginner Staff says:

    You can use the Duplicator plugin or BackupBuddy for site transfers.

  42. Anji says:

    It is my first time creating a website in WP and his post was easy and it worked like a charm! Thank you so much!

  43. WPBeginner Staff says:


    The WordPress you install on your local computer is only available on that computer.

    There are specialized software that allow you to install Wampserver on a USB stick which you can then carry with you to work.

    • George says:

      Thanks for the speedy reply,

      Today I installed Wamp on my work laptop and using phpadmin exported my sql database from my home computer and imported it to my work laptop.

      I tried mirroring the process above on my work laptop and named the database the same thing. I was able to get into my site on my work laptop but is seems my plugins and theme haven’t transferred. Am I missing a step? Must I transfer another folder?

      I was planning on working on a local server doing this transfer sequence between work and home and was wondering if it can even be done (I heard about url linking problems) A short check list or play by play of what I must do would be very helpful.

      Thank you,


  44. rustomQ says:

    excellent guide!!!!!! got everything up and running the first time!!! thank you oh so much!!!! :)

  45. George says:

    This Work wonderfully! I’ve been word pressing for a couple of days and have made some progress over the weekend.

    One Problem:

    How can I take what I have on my home computer and work on it on my work computer in the office? Can I upload this to wordpress and work on it from anywhere? (I am fine with having a url while I am developing) What are my options to working and showing my development work after following the process above.

    I am a complete newbie but willing to learn, a quick tutorial on that process and options would be greatly appreciated. Great work so far and thank you for all the resources you guys provide.

  46. Thomas says:

    *facepalm* There is a link just above to resolve the problem. Sorry about that! Thanks again for this great tutorial!

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.