Post Reads 160 reads
Read this tutorial to learn how to install wordpress on localhost and build your own website….
Section-1 Download & Unzip wordpress on localhost
Section-2 Creating database for wordpress
Section-3 Installation of wordpress
Section-4 Change Default theme of wordpress
Section-1 Download & Unzip wordpress on localhost
Step-1.1 Download wordpress in .zip or .tar.gz format
Step-1.2 Open .zip file and click on extract
Step-1.3 Choose path of your folder. Here I unzip wordpress in “wp-shop1” folder into c:\wamp\www\. You can choose your own.
Step-1.4 Following folder structure of wordpress shown in our c:\wamp\www\wp-shop1 folder.
OK, Section-1 is complete now you successfully unzip wordpress to localhost. To install wordpress you need a database. To create database read Section-2 Create database for wordpress
Section-2 Creating database for wordpress
Step-2.1 Open localhost/phpmyadmin on your favorite browser. I like open it in Mozilla. Click on Databases
Step-2.2 EnterDatabase name and click on create. Here I create database shop1. You can choose your own database.
After click on create “Database created successfully” message shown on your browser.
Now next step is wordpress installation. Read next section.
Section-3 Installation of wordpress
Step-3.1 Goto browsers address bar and enter “localhost/wp-shop1”. Then page is open as follows:
Click on create configuration file to install wordpress.
Step-3.2 Now you are ready to install wordpress. Click on lets go!
Step-3.3Enter Database name which is created in phpmyadmin here my database name is shop1.
Also enter user name, password, host. Here default user name is root & password is nothing. Note table prefix is (optional).
Step-3.4 Click on run the install
Step-3.5 Enter your site name, user name & password. Note this user name & password is important. Because after installation & all times when you open the wordpress in admin mode, wordpress ask you admin name & password. So, use strong password here.
Step-3.6 Click on log intoopen login window
Step-3.7 Enter user name & password to open wordpress admin.
Step-3.8 This window show you your dashboard. It means you install wordpress successfully. This is your admin dashboard. To view your site follows next steps.
Note: To open admin panel of wordpress enterlocalhost/your-site/wp-admin. “wp-admin” is used for logging into wordpress.Whenever you want to login to
WordPress admin panel then enter localhost/your-site/wp-admin. I use “localhost/wp-shop1/wp-admin”
Step-3.9 Right click on my site-> view site to open your site.
Step-4 OK. This is your site. WordPress show you default theme of wordpress. You can create your own or use another one. To change theme follow next section.
Section-4 Change Default theme of wordpress
Step-4.1 To change theme goto your admin panel i.e. opened at “localhost/wp-shop1/wp-admin”
Notewp-admin” is used for logging to wordpress admin dashboard. Ok to change theme click on appearance->Themes
Step-4.2 WordPress shows default 3 themes. To activate theme click on activate button of specific theme as you like and click on activate.
Step-4.4 Again click on my Shop-> ViewsiteOR enter on address bar “localhost/wp-shop1” press enter to view your new theme.
Ok. This is basic tutorial. Now you successfully download, install & change theme of wordpress.
If you have a about query about wordpress please feel free to contact me.
I hope this tutorial is helpful for you. Thanks.

 For more details visit

1 thought on “How to Install WordPress in localhost?”

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top
%d bloggers like this: