How to Install WordPress on Local Computer using Xampp

How to Install WordPress on Local Computer using Xampp

What is WordPress?

WordPress is an online, open source website creation tool written in PHP.  In easier words, it is reportedly the easiest and most powerful blogging and website content management system (or CMS) today. Although it started out as just a blogging system, WordPress has evolved to be used as a full content management system and so much more through the thousands of themes and plugins and widgets. It is limited only by your imagination.

What is XAMPP?

XAMPP is the most popular PHP development environment. It is totally free, easy to install Apache distribution containing MariaDB, PHP and Perl. The open source XAMPP package has been set up to be incredibly easy to install and use.

How to Install WordPress for Offline usage using XAMPP?

  1. Download and install the latest version of XAMPP from the official website org


  1. After installing, run the XAMPP control panel and start Apache and MySQL services as shown in the image below.



  1. Now we have to create MySQL database for our WordPress install. To do this go to http://localhost/phpmyadmin and login using root as username. Through the PhpMyAdmin interface, give a name for your database and create it.


  1. Download the latest version of WordPress from

After the download, extract the .zip file to the htdocs folder in the xampp folder.



  1. Open the WordPress folder that we extracted in the above step. You will find a file by the name of wp-config-sample.php . Open it with Wordpad and edit the data as indicated below.


  1. Now simply go to http://localhost/wordpress and install and configure WordPress.


  1. 7. Go to wp-admin and start playing with your offline WordPress blog. Good luck.