In the previous tutorial, you learned what WordPress is. Now in this tutorial, you will learn how to install WordPress on Xampp or localhost.
First, download the latest version of XAMPP from www.apachefriends.org, according to your OS (Mac, Linux, Windows) and install it on your computer.
In the installation process, if you face this(see the below image), then ignore the not recommended option and choose another option and then click on Allow access.
To install WordPress on your localhost or Xampp server, first of all, download the latest version of WordPress from WordPress.org and it is free.
After downloading the WordPress, Now open your Xampp htdocs folder.
So where is the htdocs folder of xampp? You will find the htdocs folder inside your xampp installation folder.
1 – Open your XAMPP Control Panel and then click on Explorer. Like the below image –
2 – Now you can see the htdocs folder. Open it.
After opening the htdocs folder, Now follow the below steps –
wordpressFolder to mysite
Paste the ZIP file
Extract the ZIP file and Rename it
Now open you XAMPP Control Panel and start Apache and MySQL Server –
After starting the Apache and MySQL, Now, you need to create a Database. To create a database, open your browser and type –
In the phpMyAdmin click on the New to create a new Database.
Then type the database name (the name is totally up to you), Here I named it –
mysite_database, then click on the create button.
After creating the Database (mysite_database), Now open your mysite website on your browser by typing –
Now choose your language and click on the continue button.
Click on the Let’s go button.
Fill up the Database information and click on the submit button.
Click on the Run the installation button.
Enter your site information and click on the submit button.
Click on the login button.
Enter your username and password to login to your website Dashboard.
After you are successfully logged in, Now you are inside the Dashboard.
What is the Dashboard? – The dashboard is used to manage your website.
So, what does your website look like to see that then open your site URL in your browser –