WordPress is a widely used CMS for a long time and nowadays where everywhere lockdown blogging boosts up and lots of people have started blogging and so many students learning online courses, and skills like web design, graphics design, etc. So in this post, we will learn about How to Install WordPress on Windows.
WordPress is very easy to learn and user-friendly cms and it is the world’s best cms for blogging. If you learn about What is WordPress? How does it work?. In this article, we are talking about How to install WordPress in localhost in Windows 10.
How to install wordpress on windows [XAMPP]
Before installing WordPress in localhost you need to set up a localhost or local server. So you should know how to install XAMPP in windows. You can read our post where I have explained step by step.
What are the steps to Install WordPress on XAMPP?
There are the following 9 steps that are used to the installation of WordPress.
Step1: Download WordPress
After setup localhost, you need to download WordPress latest version from the official website :
Step2: Place the package in the root directory
After downloading the wordpress package zip file that size approx 15.7 and extracting the zip file, we have to place it in the localhost directory. So if you are using XAMPP, you have to place this wordpress folder into the htdocs(C:\xampp\htdocs) directory, and if you are using WAMP, you have to place it in www(C:\wampp\www).
So now you can rename that WordPress setup folder as you want for your website. Note that name should not start with a special character or space.
Step3: WordPress File Structure
Before getting the next step make sure you have complete files and folders in your wordpress package directory and it should contain 16 files and 3 folders as below screenshot. In the below setup, I have renamed wordpress as mywordpress.
Step4: Start the local server
Now start your XAMPP server by using the XAMPP control panel as below-
Step5: Open website path
In the browser add your wordpress directory name with a localhost URL like :
http://localhost/mywordpress and you will see this interface: In this step, you have to choose your language for your website. and then click on the Continue button.
After that, you will see the Welcome screen where you have read the information that mentioned 5 points related to Database, So to get this information, you need to follow the next step.
Go to http://localhost/phpmyadmin and click on Databases tab or direct open this URL: http://localhost/phpmyadmin/server_databases.php
Where you can see the default databases list and at the top there you will see, an input text field, So just enter your database name that is mostly the same as your website name.
Let See: 5 Best WordPress Hosting in 2022
After creating your website database come back to our browser and click on the Let’s Go button
And insert detail like below – Here I have used my Database name “mywordpress”, So you have to use your database.
Username will be the same for all that is “root” by default.
Password should be “empty” just leave blank.
Database Host also will be same for all “localhost”
Table Prefix by default is “wp_” but you can change as you want.
After that just click on Submit button
Let See: How to install XAMPP on Windows 10?
Step7: Run the Installation
After submitting database detail you will move the next step window like this:
Step8: Website Configuration
In this step, you have to enter your website following detail as below-
Website name – your website name
Username – your website username which will be used for website login and it should be unique for every user. And you can use a combination with a numeric, alphabetic, and special character.
Password – It should be also a critical combination so no one cannot hack your website.
Confirm Your Password: just check that checkbox.
Your Email: Enter your email id that will use for admin activates.
Search Engine Visibility: if your website is not ready to live and you don’t want to submit it to search engines then you have to check to discourage option.
After clicking on the Install WordPress button, you will get Success Message Screen as below. So that means you have successfully installed wordpress.
Step9: Login Admin
Now you have installed WordPress successfully in your localhost, so at the end, you have to login into the backend site and you will see this popup box.
Use your website username and password that you have inserted in the last step. And finally, you can see the WordPress admin dashboard where you can access everything like menus, users, posts and categories, etc…
Front this area you can create new menus and posts and post categories etc…
Next blog you will learn about how we can create Posts, Categories in WordPress.
There are 2 URLs as below-
Admin URL: http://localhost/yourwordpres/wp-admin
Frontend URL: http://localhost/yourwordpres
So front end look will be like this:
After installing the WordPress setup you will need an appropriate WordPress theme so you can buy fresh new themes from Themesrain WordPress Themes
and get your 30% Discount on any WordPress Themes Now! Use Code – THEMES30 on the Themesrain WordPress Themes
Let See: How to Create a WordPress Plugin