WordPress is the most popular web publishing platform for blogs. is simple, beautiful and very powerful. WordPress is simple because you don’t have to be a technical person in order to setup it up, in a few minutes you can have a blog up and running without touching any code. it is beautiful because it has hundreds of templates you can choose from, and it is powerful because you can publish your thoughts to the world with just a click on a button.
Most of web hosting providers offer WordPress pre-installed, you only need to create a database and run a script and enter the name, password, etc of the blog, and WordPress will be installed automatically.
WordPress needs PHP version 4.3 or greater and MySQL version 4.0 or greater and a web server like Apache, IIS, or Litespeed. installing these applications manually is a long task, and probably you won’t be able to do it yourself if you don’t have technical skills, because each of these applications require configurations and modifications to some of the core files that only a person well acquainted with the files would know what the heck is up to.
Luckily for us, there are simple setup applications like Xampp -Xampp is a package that bundles PHP, MYSQL and APache Web Server all in one, and configure them for you, so you only need to download it and install it.
Go to the Apache Friends and download Xampp for windows from here http://www.apachefriends.org/en/xampp-windows.html download it and follow their method of installation using the installer from here once Xampp has be installed, you should be able to open Xampp control panel from the short-cut it creates on the desktop:
![]()
Make sure Apache and MySQL is running, then open your browser, IE, or Firefox, and type http://localhost and hit ENTER. the Xampp interface should come up:
Once on the Interface, click on PHPAdmin, that will bring you to MYSQL admin panel:
Click on Databases, and create a new database on the following screen:
Name your database accordingly, I will name it wordpress-test for the sake of this tutorial. click on Create button, and you should get a confirmation that the database has been created.
Click on Server-localhost to go back to PHPAdmin panel, then click on Privileges:
On the following screen click on Add a new user. Enter Username using “Text Field: host should be Local type your password, and then confirm it, and click on Check All under global privileges and then click on GO right at the bottom:
![]()
You should get a confirmation that the new user has been created. You are done with the database part!
Now download WordPress from wordpress.org and save it on Xampp htdocs root folder:
Once you have copy WordPress files to Xampp htdocs root folder, open Internet Explorer, or Firefox, and type the exact path URL to where you copy the WordPress files:
Remember the htdocs folder is the root directory of your web server, that is equivalent of locahost and then the name of the wordpress folder, which in your case probably would be Localhost/wordpress, WordPress will ask you to create a new configuration file.
Click on Create a configuration file. Next, the welcome to WordPress wizard will come up: click on Let’s go
On the following screen, type the database name, username, and password. these are the same credentials we created at the beginning:
Click on Submit. If everything is all right, you should get a message telling you are all set to go:
Click on Run the install. Next, you will be asked to enter the name of the blog, and e-mail address.
After entering the name of your blog, and e-mail address, you should get your username and password to login to your blog admin panel.
Copy those credentials to a notepad page, and click on Log in. From there on, your wordpress test site should be up and running.
Use the URL http://localhost/wordpress/wp-admin to login to your blog admin panel.
That was easy, wasn’t it?




I really appreciate folks like you helping us newbies out here struggling to jump through the hurdles of getting a site up and running. It is a great asset to have my WP site on my PC instead of up on a server. No better way to tweak it before going public. Thank you for the excellent article. You pull me out of the darkness and into the light. Now if only I had a mentor to walk me through getting a fully functional blog built. Know one?
Thanks for an excellent helpful article. Just one question. Can I administer more than one WordPress blog site from this installation? For me it is so important to be able to work locally first, before going online with a blog for a client.
If it is possible, could you point me in the right direction please. Thanks
Pete
thx for the tutorial. it really helps me. and i've successfully installed the wp in my computer. now this can ease my job on modifying wp theme :)
Been all over to try and install WordPress with XAMPP and your tutorial was magic. Thanks a lot.
You guys rock. Thanks for taking the time to write this up. Very helpful.
Thank you! You make our life easier than ever. :)
I have referred back to this post several times to help me set up a WP blog on my PC and for some friends. You have saved me from utter humiliation many times. THANKS.
thanks alot but when i try to access the site not from the local host i just can access the first page the home page without css and imgs
Thank you so much. That was easier than another site I spent 2 hours trying to figure out why I couldn't get past a certain step in the local WordPress install. As it turns out, it was missing all your steps with the exception of the first one.
I was able to write one on this topic. You beat me to it. I am not sure if I could have explained in a better way than this :p Good job guys!
Thank You. Nice tutorial.. even though it is a bit outdated helped a lot..
This was a perfect tutorial. I managed to install everything in 10 minutes. Or at least it felt like 10 minutes ;-)
Thanks a lot!
I've just installed WP 2.9.1 locally with XAMPP Windows 1.7.3 in my personal computer running Windows Vista. Thanks!
Thanks a lot for creating this page. It helped me install WordPress locally for testing! Thanks!
thanx a lot! very simply explained. WordPress is working fine on my local PC.
Thanks for this useful info, i would prefer wampserver though :D good job!
Really useful article…
Actually I've installed WordPress on a local computer from another tutorial which told me to edit the wp-config file manually with a text editor. It's working, though.
Recently my notebook had trouble so I must reinstall the OS and reinstall WordPress again. I found this tutorial very simple and helpful. Thank you very much!
Awesome tutorial! This makes creating themes way easier. Believe it or not, I was just uploading to the server every change. :( lol No problem now though!
Thanks for the awesome instructions, it worked perfectly.
This was absolutely useful. Thanks for this kind of explanation.
Nice, easy one to follow. Thanks.
I just got my A+, so I think I will stick around if you don't mind.
Awesome!! Great Job.
Nice A++ Blog.
Thanks for your sharing.
Thank you so much.
Thanks. I installed WordPress. It's very useful.
Great Work!!!
Thanks a lot.
Really, really helpful. Great work.
Thank You.
Thanks.
That helped me a lot.
Mark
Hey, man. Everything's done.
But what's my blog's address? Localhost/wordpress?
Your ARE the Man!!
Worked like a charm!
Nice way to explain. Thanks.
Yes that worked, but how do I restore a live site to localhost?
Very easy, thnx a lot!!
thanks a lot… amazin step by step instructions :-)
I’m stuck at the part where I type the path of the wordpress files in my browser to configure wordpress. I’m just getting a list of files in that folder, it’s not running a page or anything.
Thanks for the tutorial. it really helps me.
thank you so much . yes it is easy , but only using your directions!