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.
- WordPress is free and open-source.
- You can optimize the search ranking of your Website too fast
- No coding required to run a WordPress website.
- No skills needed like a high-level web developer.
- 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.
- Download the latest WordPress setup zip file.
- Extract the zip file of WordPress in our local server’s Htdocs directory
- Try to run our newly created Website.
- Creating a Database for our Blog or Website.
- 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.
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.
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.
As you can see in below screenshot, order to proceed next step, we need the following details –
- Your Database Name
- Database Username
- Password for Database
- Database Host
- Table Prefix
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.
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.
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.
- Enter your database name in the Name field.
- Please note database username must be root
- Remember we did not set any password when creating a database. So leave the password field blank.
- The database host must be a localhost.
- 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.
- Site Title – Your website name or title
- Username – A name that will help you to login to your website’s admin area.
- Password – A password that will require you to login to your website’s admin area.
- Email Address – If you forget your account password and username, then you can quickly retrieve your credentials using this email address.
- 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
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.
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.
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.