How to install wordpress on xampp local host

WordPress installation on XAMPP

Follow step by step guide to make a website: 

WordPress is the most famous CMS in the world, and every type of website can be created by it. Two things are mandatory for creating a professional website or blog:

1. Domain name
2. Web hosting

Don’t worry, if you have not purchased a domain and hosting yet, create your website or blog on your local hos. You can create a full website or blog locally before going to live server. It is better to create a website or blog on the local host, after completing your project you can easily upload (launch)your full site on a live server.

First you need to install a local host software on your PC to make it local server to run web development applications. I recommend  XAMPP, a small utility ,which will allow you to run a local web server on your own machine, using Apache and MySQL. This tutorial is for Windows users, there are other versions of XAMPP are available, if you are using XAMPP is available for the following operating systems..
XAMPP Windows
· XAMPP Linux


First, you need to download XAMPP. Click here to download XAMPP latest version, and then double click the installer file to install on your computer. Its installation is quite easy, as like any other software, you have already installed.

If your system is configured by default, a message appears indicating that the control of the user’s account – UAC – is disabled.

Press OK and confirm the steps for installing the software.

Starting the Apache and MySQL

After installation, launch XAMPP from your desktop shortcut and start Apache and MySQL by pressing “Start” on the control panel.
Now open your browser, and type http://localhost and press enter, you will see a XAMPP home page, and now you can run any web development software, including WordPress on your local machine.


Select English language to go to the admin panel, and now you can install WordPress locally.




Now we are going to create a database for wordPress  installation.
click on the link phpMyAdmin to create a database for WordPress installation.

Now you are here at phpmyadmin panel.


Click on the databases link on the top and type database name for example “WordPress”in the database name and click crate. Now you have created your database successfully.  A confirmation message is displayed, your database is operational and ready to be coupled to a WordPress installation.




The hard part is done, now we start creating a  WordPress website on the local host. Get the latest WordPress CMS – version from, download the latest version on your computer. rsz_wordpress-latest-version-download
Locate the xampp folder on c:\ open it and locate htdocs folder, and create a new folder “Wordpress ”here, and past the unzipped files in the WordPress folder.
Latest version is 4.1.

Open your browser to go to the root of your new site by typing  http://localhost/wordpress / simply where you have past WordPress files.

Create WordPress configuration file

Click “Create the configuration file” and “Let’s go” and enter the login details to your database. The fields “Host Database” and “Table Prefix” does not need to be changed and leave the password field empty. Remember here in local host does nor require password.


Connection details to the database
Confirm the message “Great! We arrived at the end of this part of the installation.WordPress can now connect with your database.


Connecting to the database
It’ll only start the installation and fine-tune the final details by entering the title of your new site, a username, a password and an email address. The “Privacy” is of no importance,installing WordPress is local, and therefore inaccessible from the outside.


WordPress Website Details
Press “Install WordPress” to finish off.

Now we have installed WordPress locally using XAMPP
That’s it, now you can administer your site as you like, by connecting to the address http: //localhost/wordpress/wp-login.php


31 thoughts on “How to install wordpress on xampp local host”

  1. irfan ahmed

    Hello sir I also making a web site but the profectional web site makes demand a lot of money to make web.I can not affordable to make free web and turn is a Google adsense.? Please some links mention to reply thanks.

  2. Hellow, I have been through the information mentioned, I can write quite informative articles on some selected topics, it seems difficult to take a start from your program as some steps are not understandable. Can you please guide in this concern in a more vivid way.

  3. irfan ahmed

    Hello sir I interest and understand to your article to create a website and monetise to create a web in any without hurdles and how can monetize to its.describe the whole process step by step.thanks.

    1. XAMPP or WAMP aren’t much different, I like Xamp, because it is easy to use, and i have never face any problem using XAMP.

Leave a Reply to Akhtar Cancel Reply

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