how to install wordpress

How to install WordPress on your local machine

Hello everyone

In this article, I will teach you how to install WordPress in your local server using easy steps.

WordPress is a highly popular content management system (CMS). It is a free and open-source CMS based on PHP and MySQL. WordPress Powers almost 30 Percent of Websites all over the world.

Introduction – How to install WordPress

WordPress is mostly known for its blog websites. It is the most favourite platform for bloggers. India’s top bloggers have used the WordPress platform for their blogs. It’s very easy to install WordPress.

Why should you build a Blog or Website using WordPress?

The reason behind WordPress for blogs and websites is very apparent, by creating a website or blog with WordPress, you can increase your chances to rank fast in the google search engine. WordPress is a content management system (CMS) and its working environment is entirely SEO (Search Engine Optimization) friendly.

Top 5 Reasons to Use WordPress for Your New Website.

  1. WordPress is free and open-source.
  2. You can optimize the search ranking of your Website too fast
  3. No coding required to run a WordPress website.
  4. No skills needed like a high-level web developer.
  5. WordPress has over 50,000 plugins repository and using them you can do anything.

So let’s move on from this point and begin to install a brand-new WordPress website or blog on our local computer.

Topics to cover in this post.

  1. Download the latest WordPress setup zip file.
  2. Extract the zip file of WordPress in our local server’s Htdocs directory
  3. Try to run our newly created Website.
  4. Creating a Database for our Blog or Website.
  5. Run and Test our brand new WordPress website into our browser.

Download the WordPress zip file.

Let’s start creating a WordPress website. First, go to WordPress’s official website and download the zip file of the stable version of WordPress.

official download page of wordpress

Extract the downloaded zip file into the htdocs folder.

After downloading the WordPress zip file, now you must extract this zip file into your htdocs folder, and you can change this folder’s name according to your project needs.

xampp server's htdocs folder directory path

Now try to run this into your browser.

In this step, we are going to run and test our project in our browser.
Before you test your project make sure your local server is up and running. If your local server is not running you may not be able to experiment with your project in your browser, so make sure your server is up and running. If you have not yet installed a local server in your windows system, then you can read my post, How to install xampp server. You can install another local server, which is wampp, and it works similar to the xampp server.

I assume that you already have a local server installed.
Now type an url in your browser like localhost following the website name and then hit the enter button.

Now, a page is open, requesting you to pick a language with which you want to install your project. Choose a language and hit the continue button.

Select the language for your blog setup

As you can see in below screenshot, order to proceed next step, we need the following details –

  1. Your Database Name
  2. Database Username
  3. Password for Database
  4. Database Host
  5. Table Prefix
Database information is required

Let’s create a database for our WordPress website.

Step 1 – access your phpmyadmin area

Go to the following url in your browser localhost/phpmyadmin/ and press enter. This page will redirect you to the phpmyadmin area. Now you will see a link as New on the left-hand side of your phpmyadmin page. Click on it.

phpmyadmin area

Step 2 – Assign a name to your new database

Enter the name that you want to keep for your new database and then hit the Create button. If you follow these steps carefully, then your database is created successfully. You can see your recently created database on the left-hand side of your phpmyadmin page.

Create a new database

Now go back to our WordPress installation process page and click on the Let’s Go button. A new page appears to fill your information like database name and username etc.

database information fields form
  1. Enter your database name in the Name field.
  2. Please note database username must be root
  3. Remember we did not set any password when creating a database. So leave the password field blank.
  4. The database host must be a localhost.
  5. In the future, if you required to maintain multiple WordPress projects. At that time, you can change the table prefix.

Start the installation of WordPress

After filling all the required information, then click on the submit button. Then click on Run the installation button.

Create your username and password

A new page has opened, This is the final step of our WordPress installation process and to complete this step, we require some more data and now this time we require the following details.

website or blog information with username and password
  1. Site Title – Your website name or title
  2. Username – A name that will help you to login to your website’s admin area.
  3. Password – A password that will require you to login to your website’s admin area.
  4. Email Address – If you forget your account password and username, then you can quickly retrieve your credentials using this email address.
  5. Search Engine Visibility – If you check this option, the Google search engine or Google crawl bots think that you don’t want to give any permission for the crawl, your website or indexing your site in search engine.This option is required when your site is under development and because you want to protect your website from inaccurate crawling and indexing, then this option will help you.

Make sure the search engine visibility option is unchecked

search engine visibility

If your website is ready to go live, check and make sure this box is unchecked. If you leave this box checked, then your website will not rank on Google search engine at all.

After filling in all the required information, click on the Install WordPress button, and wait for some time. It will take 1 or 2 minutes to install WordPress.

If your WordPress installation is successful, then you will see a Thank You screen with a Login button.

wordpress installation has been successful

Now you can access your first WordPress website on your computer on the local server by typing the following url in your browser localhost/ project name.

You can access your website’s admin area by going to this url localhost/project/wp-admin and then enter your username and password which you enter, during the WordPress installation process.

Conclusion

I hope you will understand this article and be able to install WordPress on your computer. If you have any doubt and face any errors regarding this article, then feel free to ask me in the comments section. I will definitely help you as much as possible.

Rakesh Kumar

About the Author: Rakesh Kumar

4 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *