How to install WordPress on your Windows PC

by Ross McKillop on August 25, 2008

Blogging Web Design & Dev Windows

Though I’ve previously covered How to install WordPress in Windows Vista, that method used a BitNami stack, which comes with a few drawbacks. The method outlined in this tutorial will leave you with a perfect WordPress installation on your PC – which is great to use as a development and testing environment.

  1. Before you install WordPress, make sure you have WAMP (Windows, Apache, MySQL & PHP) installed. Fortunately we have a tutorial that walks you through each step of installing and configuring WAMP. Once you’ve got that done, continue with step #2.
  2. Click the WAMP icon in your System Tray and select www directory.
  3. Explorer will open the folder C:\wamp\www\. This is where your HTML, PHP and other site files reside. You’ll notice an index.php file. This a WAMP file (the one that provides shortcuts to phpMyAdmin etc). You don’t want to delete it, but you also probably don’t want to leave it titled index.php.
  4. Rename it to something else (for example, wamp.php).
  5. Now download WordPress, and extract it into the C:\wamp\www\ folder
  6. When you extract WordPress, it will create a folder called wordpress. If you’re using WAMP specifically for WordPress development, and you don’t want to have your blog show up at the address http://localhost/wamp (and would rather it display at http://localhost) – select all the files in the wordpress folder, cut and paste them into the C:\wamp\www\ folder.

  7. click to enlarge

  8. Now load the WAMP config screen in your browser by entering the address http://localhost/wamp.php – assuming you renamed the WAMP config file to wamp.php (in step #4).
  9. In the Tools section, select phpmyadmin.
  10. Log in to phpMyAdmin.
  11. To create a new database for WordPress, select the Databases link.
  12. In the Create new database section, enter wordpress as the database name (or something similarly descriptive) and click Create.
  13. Make sure you get a confirmation that the database was successfully created.
  14. Now enter http://localhost/ into your browser. You’ll be greeted with the WordPress “getting started” screen. Click the Create a Configuration File button.

  15. click to enlarge

  16. Review the info, and then click the Let’s Go! button.

  17. click to enlarge

  18. In the Database Name field, enter wordpress (or whatever database name you specified back in step #11). Enter root as the User Name (unless you’ve created another MySQL user) and your MySQL password in the Password field. Your Database Host should be set to localhost and the Table Prefix should remain wp_ (but can be changed if you wish). When you’re done, click Submit.

  19. click to enlarge

  20. Now click Run the install.

  21. click to enlarge

  22. A few seconds later you’ll be presented with the Information needed screen. Give your blog a title, and enter your email address in the provided fields. If you’re using this WordPress installation as a development site, uncheck the Allow my blog to appear in search engines like Google and Technorati. Click Install WordPress.

  23. click to enlarge

  24. Make note of your username (admin) and assigned password, then click the Log In button.

  25. click to enlarge

  26. Enter your Username and Password in the appropriate fields, and once again click Log In.

  27. click to enlarge

  28. That’s it! You can start writing posts, uploading/creating themes etc.

  29. click to enlarge

  • http://bitnami.org Daniel

    Hi,

    Just curious, which problems/drawbacks did BitNami stacks had for you? Anything we can fix? :)

    Best regards

    Daniel

  • http://www.performerswebdesign.co.uk Peter Blake

    Thanks for an excellent in depth tutorial. Unfortunately I can’t quite complete it.
    I’ve successfully installed WAMP and on installing WordPress I’ve stopped on item 7. I have done exactly as instructed but get the message, NOT FOUND The requested URL /wamp.php was not found on this server.

    However I moved on and stumbled on item 13 and get the message, There doesn’t seem to be a wp-config.php file.

    I can’t get any further and would appreciate any advice you can offer please.

    Best wishes

    Peter Blake

  • http://inprogress Ron

    Great tuts especially the one “that walks you through each step of installing and configuring WAMP. ”

    Just one snag I ran into. At step 17 where I had to enter blog title and email. I click on “Install WordPress” and nothing happens except for down in the status bar it say “Waiting for localhost…”
    Do you have any ideas what’s up with that?

    Ron

  • http://inprogress Ron

    I love this place!!!!

    Thanks a lot Ross!!!!!

  • Tonia

    I’m having the exact same error as Ron. When I click on “Install WordPress,” nothing happens, but the status bar says “Waiting for localhost. . .”

    Help?

  • Pingback: How To Install WordPress on Windows? [Video Tutorial]

  • http://www.bsl5.com/blog whlooi

    Well..i always wanted to load WP on my desktop to experiment some themes modification, but absolutely no idea how to do it! Thanks putting this up for sharing. ^^;

  • borugodunstoy

    wow. thanks a lot….

    I finally done installing wordpress in my wamp server

  • Pingback: The Black Book Project™

  • http://totumweb.com pak

    ciao, è possibile poter copiare interamente il proprio blog online su questa piattaforma?

  • Catherine M

    Merci infiniment. Un tuto super.
    Toutefois, il est bon de préciser qu’il vaut mieux installer Wamp 2.0.c, sans quoi on risque de se trouver face à une incompatibilité, qui demande ensuite à bidouiller. Une perte de temps, car ça marche nickel avec la version c au lieu de la dernière, qui doit être la d.
    En tout cas merci beaucoup. ;) Je peux me mettre à mon blog tranquille maintenant…

    Du bonheur.

  • píl

    não era o que queria isso eu ja sei

  • Pingback: Clearing The Cache - Blogging Edition

  • Pingback: How to install WordPress on your Windows PC | Web blog

  • amy

    having the same problem as Ron and Tonia…
    I get Waiting for localhost…
    any ideas?

  • http://tugasakhir-skripsi.com contoh skripsi

    I looking this tutorial, thanks for making it.

    Thanks.

  • Pingback: İmdat Çekici

  • http://hotouch.wordpress.com Bilal Ahmed

    thanks a lot buddy, i was trying to install WP on my local system but was unable but after reading this post i have installed it successfully….

  • Pingback: How to install WordPress on your Windows PC – Simple Help

  • Eddy

    For all those people stuck with the “Waiting for localhost” issue.. I found a workaround for myself after running into this same issue.

    You will have to access your DB for this. Go to your wordpress DB (i had named mine wp2 yours would be whatever you named it) . Once there browse to the “wp_users” table and browse its data. You should see the user_login as “admin” and a long list of characters in the “user_pass” field ( this is the password that had been generated but not shown to us)

    We will change this character set with $P$BhUIiJBOMi1OZu3ICSlCFCnJ7f5uL7/ just copy and paste this to the filed to replace the character string which is there. The above character string translates to 123456 (which will be your password) Now access http://localhost/wordpress/wp-admin/ and use the credentials
    user: admin pwsd: 123456

    Hope this helps

  • http://fullziphoody.blogspot.com/ Full Zip Hoody

    It was pretty easy, thanks for the tutorial and for the easy simple steps. It worked like a charm!

  • ajay

    wow thats great man

  • Danilo Nesovic

    Questions for you.. I am not using WP to create the entire site, just as an add on to manage the blog and content. This site is still in development on my computer in a folder on my NAS. Do I need to copy the folder to C:/wamp/www/ ?
    Do I then install WordPress into /www or the folder /www/DNDB that holds my site which is in developement (probably into a subfolder like WP)

    Thanks for your help, this is a very good tutorial.

  • adidragos

    at step 13: Error establishing a database connection
    :-\ what now?

  • Patrick

    Great tutorial!
    Thanks.

  • Pingback: Installing Wordpress On Your Website - Best Web Hosting Fans

  • max

    i already have a blog, i did all that and it made me create a new blog when i wanted to install plugins in my current wordpress blog.
    whats the deal ? have i done something wrong

  • Pingback: Wordpress plugin development requirements. – Piece of Mind

  • http://hariom NEUTRAL

    THANKS A LOT, U GUYS ARE SO KIND…….

  • maaz

    thanks

  • vanna

    June 2013: These instructions worked great for installing WordPress through Wamp (while also having Drupal installed through Wamp)…Thanks.