How to install WordPress on localhost

WordPress installation is quick and easy using cPanel. We often do experiments on localhost before applying on original blog or website. I already written an article about WordPress installation on Mac OS using MAMP. In this article we will see how to install WordPress on localhost using WAMP Server in Windows 10.

Let us see the step by step process of WordPress installation on localhost in Windows 10 OS using WAMP server.

How to install WordPress on localhost

1. Install WAMP Server in your local machine

2. Start the WAMP Server, it will appear as green color icon at taskbar.

3. Download the WordPress software from official WordPress website.

4. Keep the software under www, which is actual path for server

C:\wamp64\www

5. Extract the files in new folder wp or any other folder name of your choice, you can use default extractor or any software like WinRAR or 7-ZIP.

6. You can see the full folder and file structure in wp folder as shown in the below image.

7. Now we are ready the files and we should ready with database also for smooth installation.

8. Open phpMyadmin using the following link.

http://localhost/phpmyadmin/

9. Enter your default user name as root and password is empty, select mysql and click on Go.

10. Now, create a new database for your new blog. Click on new, type your database name as wpsite1 and click on create button.

11. Now let us start the installation process, open your full path of extracted folder in localhost. In my case, I extracted all files in WordPress folder under wp folder under www root folder.

http://localhost/wp/wordpress/

It will ask you to choose the language, select your desired language and click on continue button as shown in step 2 on the image.

12. You will see a welcome screen and start the process

13. Now enter the database details as shown in below

Database name: wpsite1, I created this in step 10.

username: root

password: empty, i haven’t given any

Host: localhost:3308 or localhost (select which one is suitable to you)

if both are not working for you, go to phpMyAdmin and see the server details as shown in the below image.

Table prefix: wp_ or your choice.

14. If everything fine, it will go to next screen to run the installation.

how to install WordPress on localhost

15. Enter the basic information required for your website or blog as shown in the below image. Make sure to note your username and password.

16. You will see a success message as shown in the below image. It will ask you to login.

17. The default path for admin area for WordPress is

sitename.com/wp-admin

18. Now you will see your dashboard of WordPress.

You are now successfully installed your WordPress on localhost.

Next Steps after installing the WordPress

  1. Setup Your URL structure for SEO
  2. Setup a Theme for your Blog
  3. Setup sitemap for your website
  4. Submit your sitemap to Google for search appearance
  5. Track Your Visitor statistics using Google Analytics

I hope this guide will help you to start your WordPress blog. If you are using a custom server without any cPanel, the process is same.

Keep your files under public html and setup a database and follow the steps given in this article.

Select a best hosting platform, not recommended to take a shared hosting if you are really a serious blogger.

we have seen how to install WordPress on localhost.

Leave a Reply