How to Install WordPress on localhost

This tutorial is about installing WordPress locally on XAMPP, but let me clear few things before we start.

- WordPress is a free and open-source content management system (CMS) based on PHP and MySQL

- To use WordPress on your computer you must have a server (MAMP, WAMP, XAMP) installed on your machine which support PHP and MySQL requirements. Without a server you won’t be able to install WordPress.

In this post we used XAMPP software for installing WordPress.

Step #1  Download XAMPP Server

First you need to download and install software called XAMPP on Your computer.

click on below link to download XAMPP

[download]

Step #2  Install XAMPP Server

After downloading XAMPP server, just double click on its icon to run and install it

[img]

Step #3  Activating XAMPP Server

Remember, every time you turn on your machine, first you will need to activate XAMPP server simply by double clicking on its icon.

[img]

Step #4  Download WordPress Zip

Now go to www.wordpress.org and download the latest version of WordPress.

Step #5  Open Directory Where You Have Install XAMPP

Go to the XAMPP folder on your computer and open the htdocs folder – C:/Program Files/XAMPP/htdocs. Unzip WordPress into its own folder and rename it whatever you like. Lets rename this folder to “WP”

[img]

Step #6  Setting Up Your MySQL Database

Before we install WordPress, we need to set up a database. Open your web browser and type “localhost/phpmyadmin/” on your address bar and press enter.

Following page shown on your screen:

[img]

Click on Databases near the top-left and you’ll be prompted to create a new database. Lets called it “WP”

[img]

Step #7  installing WordPress.

Open your browser and go to http://localhost/wp/

After this, following page will be obtained as shown in the image below.

Now, click on the button ”Create a Configuration file” on the same page.

[img]

on the next page click on “Let’s go” button

Step #8  Fill Database Connection Details

Database Name should be same as that what you have created earlier for your WordPress.

Username is “root” by default as per MySQL user name.

The password should be left blank if you haven’t mentioned it at the time of creating your database otherwise type the same one if you have mentioned it earlier.

Leave the other fields as it is.

Now, your page should look like as shown in the figure below. At last click on “Submit” button to proceed further.

[img]

Step #9  Fill Other General Information and Click “Install WordPress”

After this simply fill the respective fields on the  next page and at last click on the button ”Install WordPress”. Your page will look like as shown in the figure below:

Step #10  You Have Successfully Installed WordPress

What is Wordpress and why should I use it?

Wordpress is the world’s most popular CMS which we use to upload, edit, and manage content displayed on a website.

You can install Wordpress on a web server once it's installed, you can log in to your site as the admin and add text, photos and other content.

At the beginning it was just a blogging platform there was nothing special about it. But now it has evolved into a feature rich content management system. the best part is that it is very easy to use, even normal person with average or little skill can use it for web development.

Let’s take a look at why you should use WordPress.

WordPress is Free

Since WordPress is a GPL licensed software this means you are free to download, install, use and modify it. It is also open source which means the source code of the software is available for any one to study, modify and play with.

WordPress is Easy to Use

WordPress gives you the ability to easily update your website whenever you need to.

Themes and Plugins

There are thousands of free Themes and Plugins to choose from, so you can give your website any look you want.

WordPress is Search Engine Friendly

SEO is another strong point in WordPress. WP comes with number of tools that help you manage your on-page SEO and guide you towards adopting the best SEO practices.

WordPress is Safe and Secure

WordPress is developed with security in mind, so it is considered quite safe and secure to run any website. However, you can also enhance WordPress security using some Security Plugins