How to Install Wordpress on Localhost using XAMPP [Windows]

wordpress on localhost

Wordpress one of the best content management system (CMS) used by millions of blogs over the world. It has strong user base of over 60 million websites supporting as of 2017. Wordpress is primarily the best tool for any blogger, it is a must have blogging system used by top blogs like Mashable, TechCrunch, and many other. Wordpress is now becoming the industry standard for creating professional looking blogs with thousands of options, themes, plugins, and customization is endless with Wordpress. Don't just start with any other blogging system when you have the best system lined up for you waiting for you to fire it up that too for free of cost.
As more and more blogs are going online the competition is also becoming hard, but using the best tools you can ensure you will be far ahead of the competition. The one tool you will heard everyone talking about is Wordpress because it is simply the best and way better than any other content management system.
If you want to soon start a blog and you just want to exercise the process of creating blog posts, pages and playing with your blog without paying for web hosting or domain. Probably you want to try the so called best blogging system and want to use it for some time to get a hang. Well you can install Wordpress on your localhost using your PC. If you don't know what is your localhost or how you are going to use it, I will tell you below.
Basically a localhost refers to the computer itself that the computer you are working on right now, as the name suggest local which means the machine itself and the localhost is also denoted by 127.0.0.1 which is same as localhost. You can open localhost using your browser just type in localhost or the ip 127.0.0.1 and you will see webpage not available error message. That is because you need a server to interact with your localhost, I'm using here XAMPP.
XAMPP is a suite of various services such as Apache Server, MySQL, Tomcat, FileZilla for file operations, The name denotes each of the services as X for Cross-Platform, A for Apache HTTP Server, M for MariaDB, P for PHP & P for Perl. It is best suitable for developers who wish to work in PHP, Perl languages and web based technologies. It is available for Linux, Mac OS, and Windows download it here.

Once downloaded install it.
Now open the xampp-control panel and from their click on start button next to Apache & MySQL, then click on Admin next to MySQL.

wordpress on localhost


Your default browser will open and at the top you will see phpmyadmin, this is where you create database and tables. For now just type in WP in the database name field right below create database and then click on create. Now that you have created the database you need to link the database to the Wordpress installation.

wordpress on localhost

So download Wordpress from here, then unzip it in the folder where you have installed XAMPP inside the htdocs folder of your XAMPP installation. And rename it to whatever you want I have renamed it WP.

wordpress on localhost

Now open the folder->wordpress and search for wp-config-sample.php and rename it to wp-config.php, now open it in a text editor and scroll until you see database_name_here and replace it with WP if you have named your database other than WP make sure to type in that name here. Then replace username_here with root and password_here with blank. Don't remove single quotes (').

wordpress on localhost

Now on your browser type http://localhost/wp/ and now click on Wordpress and you will see the installation page just follow the instructions and your wordpress blog will be ready in no time.

wordpress on localhost

This is your Wordpress blog where you can write and practice on how you will be writing and it will also help people who struggle to use newer technologies like these, the blog will always be on your localhost and if you wish to delete it you can just remove the WP folder from the htdocs folder of XAMPP.
Please comment on how the method worked for you any other method or tool you are using please comment below. If you faced any issues please mention it so I can fix it and help other viewers also.

Comments

Popular posts from this blog

How Social media can help bloggers get traffic

Top Ten Web Hosting providers

How to design a contact form for FREE (No Coding Skills needed)