Thursday 12 February 2015

How to Install WordPress on WAMP

After you install WAMPServer as explained in this post. You see the above picture when you browse to localhost after starting your WAMPServer. We are going to install WordPress on WAMP because we want to develop our websites locally before moving them to production.

Now my WAMP installation is the default installation. Click on the phpmyadmin link on your installation. When you scroll to the bottom, you will see the following:
This means that I am running the root user with no password. Since it is my local machine, it is of no consequence. Please don't do this for production. Or if you want, you can change your root password.

In order to install WordPress on WAMP, do the following
  1. Go to WordPress.org and download WordPress.
  2. Unzip the archive file in a suitable location.
  3. Copy the unzipped folder to C:\wamp\www folder. When you do this and refresh your browser, the project will show up there. This shows you that the folder is now seen as a project by WAMPServer.
  4. Click on the phpmyadmin link
  5. Once you get to this page, click on the Databases tab.
  6. In the new database area, type in your database name. I will be using wordpress as my own.
  7. Click on the Create button to create a new database.
  8. You will get a flash message and see it in the list of databases.
  9. Go to http://localhost/wordpress in your browser and wait for the page to load
  10. Choose your language as English and click on Continue
  11. Read the information screen carefully. It contains information that will be required from you. Click the Let's go button.
  12. Enter the details of your database as I have done below. Note that the password field is empty as we did not set a password for our root user. Click the submit button.
  13. Now click the Run the install button
  14. Provide the information needed. Since you are running a local website, uncheck the Allow search engines to index this site mark. Click on Install WordPress
  15. Congratulations, your have successfully installed WordPress on your local machine
  16. Login to your blog
  17. Browse to your frontend at http://localhost/wordpress
Congratulations, you now have a WordPress sandbox to use as you please.

No comments:

Post a Comment