As we all know about the popularity of WordPress and for those who are looking for most easy way to create a website, WordPress will be the first choice. So the first thing required is a knowledge of WordPress Installation. So in this article, I will show you how to install WordPress at localhost.

Localhost WordPress Install

Lets Start:

As a beginner, it is good to create a WordPress website at localhost. And after completing a website we can shift it to a live server.

There are lots of localhost service providers available like XAMPP, MAMP, WAMP, LAMP, etc. I am continuing with “XAMPP” because it works for both Windows and Mac OS.

download xampp
  • Open XAMPP and start “Apache” & “MySQL”.
xampp
  • Now click “Admin” in the “MySQL” row. It will open “phpMyAdmin” page. You can also open this page using this URL http://localhost/phpmyadmin/.
  • On the “phpMyAdmin” page, you can create a new database and edit or delete an existing one. So let’s create a new database, I suggest you name it like “yoursitename_db”. It will make the database unique and you can easily identify it.
create-database
  • Now download WordPress from https://wordpress.org/latest.zip.
  • Extract the downloaded zip file. You will see the folder name WordPress. You can keep it like it is or rename it and give the appropriate name like “yourprojectname“.
  • Now copy that folder. Go to the XAMPP directory in your computer’s system drive and paste the copied folder in the “htdocs” directory (found inside XAMPP directory).
  • Now open the web browser and type localhost/yourprojectname . Then you will see this screen.
select-language
  • Choose the desired language and click on the “Continue button”.
  • Now press the “Let’s go!” button.
install wp
  • Now fill in all required information and click submit.
    • Database Name = It is the Name of the database you created in PHPMyAdmin (like: “yoursitename_db”).
    • Username = “root”
    • Password = leave it blank
    • Database Host = localhost
    • Table Prefix = wp_
create database
  • Now WordPress is ready to install, Just click the “Run the installation” button.
run install
  • Now set the Username and password, I suggest you copy these credentials because these credentials are required to access your WordPress dashboard. In the same way, add the site title and your email id. You can check the search engine visibility option to Discourage search engines from indexing this site. As this site is at localhost so no need to index.
  • After adding details press “Install WordPress”.
add details

Now Login WordPress dashboard and that’s all. Your WordPress dashboard is ready to use. There are a lot of free and premium themes available at ThemeHunk. You just need to select a theme according to your requirements.

If you find this article helpful, do share it with your friends. If you have any questions regarding this, do not hesitate to comment below. We will help you to solve your problem. Thanks for reading this blog. 🙂

Please Subscribe to our YouTube Channel, we also upload great content there, and also Do Follow us on Facebook and Twitter.

Read More –