You are on page 1of 20

2009

[Install WordPress
locally in Win Xp]
[Using WampServer]
[Every time when I start a new blog or a Website using WordPress , I like to
have a local copy of it in my computer for easy access and to make any changes
or to find errors in my computer itself than finding and correcting it online. So
for that purpose I use Wamp Server. Now this Tutorial will tell you step by step
procedure to install, configure the wampserver and include WordPress in it and
start creating your website in the localhost without the need of an Internet
Connection.]

@sparun
http://sparun.in/
25/9/2009
Installing WordPress in Windows Xp using WampServer Pag e |2

Requirements

First what we need to do this?

1. Windows Operating System (preferably Windows Xp - it is what used in this tutorial)

2. WordPress (http://wordpress.org/latest.zip)

3. Wamp Server (http://www.wampserver.com/en/download.php)

@sparun | http://sparun.in/ | Confidential
Installing WordPress in Windows Xp using WampServer Pag e |3

Step by Step Procedure:

1. Download the Latest Version of Wampserver (As of this writing it is of Version 2.0i) from

http://www.wampserver.com/en/download.php (Approximately 16 MB)

2. Double Click the Downloaded wampserver file.

@sparun | http://sparun.in/ | Confidential
Installing WordPress in Windows Xp using WampServer Pag e |4

3. Click on “Next”.

4. Select “I accept the agreement” and press “Next”.

@sparun | http://sparun.in/ | Confidential
Installing WordPress in Windows Xp using WampServer Pag e |5

5. The Default path for the install of Wamp Server 2 is “C:\wamp”. You can change if you want by clicking the

“Browse” button or leave it as such and press “Next”.

6. Select the Additional Icons (If you want) and press “Next”.

@sparun | http://sparun.in/ | Confidential
Installing WordPress in Windows Xp using WampServer Pag e |6

7. Click “Install” to continue with the installation.

8. Please wait until the setup installs the Wampserver2 in your computer.

9. Please choose your default browser to which the wamp server will be associated. But if you are not sure

what you have to do, then just click “Open”.

@sparun | http://sparun.in/ | Confidential
Installing WordPress in Windows Xp using WampServer Pag e |7

10. “Unblock” the Windows Security Alert if it asks you.

11. Just leave the default values as such for the “PHP Mail Parameters” and click “Next”.

@sparun | http://sparun.in/ | Confidential
Installing WordPress in Windows Xp using WampServer Pag e |8

12. Click “Finish” to exit the setup (Make sure that the “launch wampserver now” option is checked)

13. Now you will see a “speedometer like icon” on the notification area of the taskbar.

@sparun | http://sparun.in/ | Confidential
Installing WordPress in Windows Xp using WampServer Pag e |9

14. Just wait for sometime; so that the speedometer is full white (Represents its fully ready).

15. Single click on the wampserver icon, and select Apache –> httpd.conf (This is the main Apache HTTP

server configuration file. It contains the configuration directives that give the server its instructions)

@sparun | http://sparun.in/ | Confidential
Installing WordPress in Windows Xp using WampServer P a g e | 10

16. The file will be opened in notepad. Go to Edit –> find or just press “Ctrl +f”.

17. Type “mod_rewrite” in the find what box and click “Find”. It will find the word in that file and highlight it

for you.

18.Click “Cancel” in the find Window and Just remove the “#” symbol present at the start of that mod_rewrite

line. (This is to “switch on” the mod_rewrite rule which will then only allow you to have pretty permalinks in

WordPress)

19. Now “Save” the file and close it. Wampserver is Ready.

@sparun | http://sparun.in/ | Confidential
Installing WordPress in Windows Xp using WampServer P a g e | 11

20. Now Download Latest Stable copy of WordPress (As of this writing it is WordPress 2.8.4) from

http://www.wordpress.org/latest.zip

21. After downloading, extract the files.

22. Single click the wampserver icon and select “www directory”. A folder will open.

@sparun | http://sparun.in/ | Confidential
Installing WordPress in Windows Xp using WampServer P a g e | 12

23. Copy and paste the WordPress files in to that folder.

24. Now Again Single click the wampserver icon and select “PhpmyAdmin”.

@sparun | http://sparun.in/ | Confidential
Installing WordPress in Windows Xp using WampServer P a g e | 13

25. Select “Privileges” from the top menu.

26. Click on “Add a New User”.

@sparun | http://sparun.in/ | Confidential
Installing WordPress in Windows Xp using WampServer P a g e | 14

27. Enter your “username” first.

28. Select the Dropdown box next to Host and choose “Local” from it.”Localhost” will be displayed

automatically in the next box.

29. Type the same password in the third and fourth options.

30. In the next “Database for user” select ” Create database with same name and grant all privileges”.

31. In the “Global Privileges” click on the “Check all” option and then Press “GO”.

@sparun | http://sparun.in/ | Confidential
Installing WordPress in Windows Xp using WampServer P a g e | 15

32. Now you should get a “You have added a new user” message.

33. Now go to http://localhost/ in your browser.

@sparun | http://sparun.in/ | Confidential
Installing WordPress in Windows Xp using WampServer P a g e | 16

34. Select the “WordPress” under “your projects” (please note you can change the folder name to anything

small or to remember something)

35. Click on “Create a configuration file” and then click on “Let’s Go”.

@sparun | http://sparun.in/ | Confidential
Installing WordPress in Windows Xp using WampServer P a g e | 17

36. Enter the value of database name, username and password (which you give before in the PhpmyAdmin)

37. Please remember the database name and the username are the same in our case. Don’t touch the

“Database Host” and “Table Prefix”. Leave it as such and press “Submit”.

38. Now click on “Run the Install”.

39. Enter your blog title and e-mail.No need to select the box which says “Allow my blog to appear in

search engines like Google and Technorati” since this is a local install.

@sparun | http://sparun.in/ | Confidential
Installing WordPress in Windows Xp using WampServer P a g e | 18

40. Now click on “Install WordPress”.

41. Now Note that password carefully! It is a random password that was generated just for you.and press “Log

in”

42. Now Login inside the WordPress using the username “admin” and the password you get from the previous

step.(don’t want to select “remember me”, because this password is not your permanent password)

@sparun | http://sparun.in/ | Confidential
Installing WordPress in Windows Xp using WampServer P a g e | 19

43. Now you will see a reminder notice to change your password as below

Notice: you’re using the auto-generated password for your account. Would you like to change it to

something you’ll remember easier?

44. Now click on “Yes, Take me to the Profile Page”.

45. Here you can choose your own password along with colour schemes, display name, biography etc.. And

click “update profile”.

@sparun | http://sparun.in/ | Confidential
Installing WordPress in Windows Xp using WampServer P a g e | 20

46. Now you can use this WordPress Installation as same as the one you are having online.

47. You can write posts, install themes, test-drive plugins and most probably everything you can do in this

local install of WordPress.

48. When Finished, Right click on the Wampserver icon and click “EXIT”.

49. Always remember to “start wampserver” before using WordPress at the local host.

50. Enjoy the world of Blogging Without the need of Internet.

Disclaimer:

This tutorial is just to help people to install WordPress locally in Windows Xp using WampServer.But

I wont guarntee that this tutorial is 100 percent perfect(even though it is).This tutorial may or may

not change in the future .

@sparun | http://sparun.in/ | Confidential