How To Install wordpress Locally Using WAMP

by Harsh Agrawal on October 18, 2009

in Wordpress

We have been talking about self hosted wordpress a lot, though many blogspot users still feel wordpress as alien platform because they are not familiar with it. To get familiar with wordpress, you can start by creating a free account on wordpress.com or you can install Wordpress on your computer to test it on Local environment. Benefits of installing Wordpress locally:

  • Familiar with wordpress
  • Familiar with database
  • Make changes locally and then make changes on your online blog
  • Local test platform.

To start with local wordpress installation, you need to download a software name WAMP. And also download Latest release of Wordpress.

1 Install WAMP

installing wamp thumb

In the PHPmail option while installing WAMP, leave it as it is

2. Now extract the Wordpress.zip. Create a folder under C:wampwww name it as Wordpress copy all the files and folders under Wordpress folder in C:wampwww

wordpress-wamp

3. Start WAMP and start all the services by left clicking on it in the task bar.

4. Open http://localhost/

5. Click on Phpmyadmin and create a database for your wordpress install.

phpmyadmin-local-wordpress

database-wamp

6. Open http://localhost/wordpress and click on create a configuration file.

wordpress-configuration-file

wordpress-setup

Now Enter the details as mentioned.

Database name : Database name you have created (wordpress)

Username : root

Password : Leave it blank

database host : Keep it default (Localhost)

Database prefix : Keep it default (wp_)

wordpress-setup-config

Click on Submit. On next screen click on Run setup

wordpress-run-installOn the next screen add Blog title and Email. Search visibility will not matter here as we are working on Local environment.

wordpress-finalization

On the next page , copy the password and save it. Click on login and login with the password in the screen and user name as admin.

wordpress-screen

Viola! You have just created a test wordpress environment for yourself. Now upload theme and do everything which you can’t try on your online server.

<Credit>

Still have any issue? Let me know and I will try to answer your questions.

If you find this post useful, don’t forget to stumble and tweet this post.

Related posts:

  1. Install Wordpress offline on Your PC using Xampp
  2. Wamp not Starting in Windows Problem
  3. Step by step guide to Install self hosted wordpress blog
  4. How to Install Wordpress and Steps after Installing Wordpress
  5. How to Install Buddypress in Wordpress MU
  6. How to install wordpress plugin from your blog dashboard
  7. How to Install Wordpress on Hostgator
  8. How to install more than one Wordpress plugins in single click


{ 25 comments… read them below or add one }

1 Tejaswini October 18, 2009 at 14:23

It is really great to have a local installation of Wordpress, for some new experiments. Whenever I have to do some changes on Internet Techies, I usually do it on my local copy and then load the entire changes to production.
This step by step guide is very useful for new serious bloggers, you making out a good collection.

Reply

2 taranfx October 20, 2009 at 17:06

I have adopted same methodology for years now. WAMP on my local to play around with customizations. Saves a lot of effort.

Reply

3 dr. rajesh moganti October 18, 2009 at 14:29

I one among those people who still feel wordpress as alien platform because I am very afraid of paying penalty in search traffic and other parameters. But i decided to change my blog from blogger to wordpress after seeing this awesome post, please help me in changing to new platforn :)

Reply

4 Ruchi October 18, 2009 at 14:57

I am currently using Xampp to create a simulated environment , I will surely give this is a try, looks like a purely user driven without manual intervention which is required in XAmpp.
Problem I faced with Xampp is that i was not able to run it as windows service, i hope this can run in background as the windows service.
Thanks for sharing such a nice post.

Reply

5 Avi Singh October 18, 2009 at 14:58

As I am learning Wordpress and I have accounts in many free hosting websites like 000webhosting and x10hosting but they are full of errors and some of them disabled my account without any reason.
I really need this type of Local hosting.
Thanks harsh

Reply

6 Anish K.S October 18, 2009 at 15:10

Already tested this :)

Reply

7 Vinay Prashar October 18, 2009 at 18:37

woot that was so well explained, going to try this tonight. I was always looking for something like this to test theme modifications offline.

Reply

8 shivaraj October 18, 2009 at 22:14

Nice post …..Good for new bees…to test in own pc.

Reply

9 techprism October 18, 2009 at 22:21

Easy & Clean. I am just using this from days & prefer it over Xampp.

Reply

10 sid October 18, 2009 at 23:55

i hve tried using xampp but i get localhost error yaar

Reply

11 Aman October 18, 2009 at 23:56

Really very useful info harsh… will help a lot in initially experimenting on the local machine and then hitting over the net.

Reply

12 Renjith October 19, 2009 at 00:21

I’ve tried installing wordpress using Xampp, but the problem is that .htaccess don’t seem to work ther… [not only for wordpress, i had this problem for all scripts using htaccess.]
due to this, custom perma links never works in xampp…
does htaccess work for WAMP?

Reply

13 Web Hosting Blog October 19, 2009 at 11:19

Nice tutorial Harsh, this is a good way for a wordpress beginner to get more familiar with wordpress.

Reply

14 Chethan October 19, 2009 at 19:01

I haven’t Tested This!
I used xampplite for local Installation of wordpress..
and everything was working fine.. but once i installed ISI server in My Comp.. the default localhost(port number 80) was occupied by Microsoft.. so it used to redirect to diff path…
after searching for help, i got an answer that we are required to configure the port number other than 80 in config file….

does the same applies to wamp?

Reply

15 Chethan October 19, 2009 at 19:02

Typo, it is IIS Server (not ISI)

Reply

16 vikrant October 21, 2009 at 13:26

hi thanx for ur great tips but i hve one prob i have done everything right according to ur steps but wen i login from wordpress.com it showing my old blog and old themes and post its nt showing my orginal blog which i hve created using localhost/wordpress all the changes i hve made its nt showing on wordpress.com and and when i login from localhost/wordpress it doesnt show me my website address it shows link like this localhost/wordpress only so pls tel wat shuld i do?

Reply

17 Himanshu December 2, 2009 at 15:55

Import your blog to local wordpress.

Reply

18 Young October 22, 2009 at 21:53

Very detailed, but I am using Xampp. :-)

Reply

19 Annand October 24, 2009 at 10:05

I have setup wamp and I was able to setup a new install of wordpress using wamp. How can I run my online blog (all files + database) on my localhost so I can work on it then upload new changes. I tried importing the database, but I can’t get the contents to load.

Thanks for your help.

Reply

20 jan geronimo October 24, 2009 at 11:43

Great howto on installing WP locally. The nice and big screenshots help a lot, making the step by step process very easy to follow. Well done. :)

Reply

21 Phaoloo October 29, 2009 at 05:26

It’s extremely useful and faster to handle the code before uploading. If you want some hacks for theMy SQL, installing Navicat or MySQL Query Browser may ease the work.

Reply

22 Vedran November 7, 2009 at 06:04

The problem I have is that I can´t save changes in header.php while working with wordpress localy in wamp. Why is that? Please help me

Reply

23 Rhys November 16, 2009 at 17:50

Great post! I’ve wondered about this, as I do a lot of coding on the move & travelling. Bookmarked & will be implemented :)

Reply

24 gaoxiaohaha February 16, 2010 at 23:18

Useful post

Reply

25 MrsMoody March 19, 2010 at 17:12

I also use Wampserver to install it locally, very useful especially when you want to try plug in or create your own template. Thanks for this post!

Reply

Leave a Comment

Previous post:

Next post: