Why do you need to install WordPress on localhost?
Getting a self-hosted WordPress is really painful for beginners out there since you need to spend money and time in learning. Will you buy a car without giving it a test drive? I’m pretty sure you won’t spend thousands of dollars if you haven’t tried it, right? You need to install WordPress on your local machine in order to avoid mistakes before applying it to your online website.
You can explore, familiarize yourself and try some plugins or themes that would fit your needs before uploading it to your website. In this tech tip, I’ll be guiding you on how to install WordPress and Xampp in your windows PC.
Related topic: Know What to Consider Before Blogging
What is Xampp?
- X (cross-platform) – you can use this on Windows, Linux, or OS X
- A (http web server) – this will let your computer host your wordpress website.
- M (MySQL) – a database system, allows you to save your information from a website.
- P (PHP) – used for PHP development, WordPress is a CMS based on PHP language.
- P (Perl) – used for Perl development.
It is highly recommended for beginners because it is the most convenient way to create local server for development. Basically, it contains important components, which are the Apache, MySQL and PHP, in order to install and use WordPress website.
To Install Xampp
- To download the Xampp, you have to visit Apache Friends.
- Once you visited their homepage, click the Download button at the top.
- From the download section, choose your preferred platform whether you’re using OSX, Linux or Windows machine.Since I am using Windows 10, I will choose Xampp for Windows. Note: Any version will do.
- Once you download the Xampp and placed it somewhere on your computer, you may now open and install it.
- A User Account Control warning will pop-up, don’t worry this is normal. Just hit “Yes” button.
- A confirmation will pop-up if you have anti-virus running in the background this may slow the installation. Just hit “Yes” button to continue installation.
- As shown below, you just have to select the component that you will only be needing. To save hard disk space as well.
- You may now select the installation folder for Xampp, I prefer to stay in “C:\”, of course, you can change the folder name.
- Once done installing Xampp, you may now open Xampp as shown below.
- In control panel, you have to start the Apache and MySQL module.
- Once activated, it will have a color green indicator. Also, it will appear a Port number.
- Now, you have to go to your default browser you were using and type “localhost”.
- As shown below, click the phpMyAdmin button.
- On the phpMyAdmin panel, you have to navigate to Databases. To install WordPress, you need to install the database, this is where all your WordPress files will be saved. As shown below, I named my database as “testwordpress”,after you create your own, you select “utf8_general_ci” by default then hit Create button.
- Congratulations! You have installed the Xampp and created your database.
To install WordPress
- You have to download the WordPress files in wordpress.org.
- Once downloaded, you have to extract it as shown below.
- As you can see the main folder is “wordpress” which contains such .php files which are important in a website. You have to rename the main folder based on your needs. I renamed my folder as “testblog”.
- Once done, you have to drag to copy and paste on your Xampp folder inside “htdocs” files. See my screenshot below.
- To install WordPress, I went back to the browser and typed “localhost/testblog”. As you can see, I used my renamed wordpress files.
- A welcome homepage will pop-up, just click “Let’s go” button.
- You can now put your database name that you have created a while ago, as shown below. You can use my default setting and leave it as blank in database password.
- Just hit the “Run the install” button to continue.
- On this part, you have to create your username and password. Since you will only use it locally, use an easy to remember the password.
- Congratulations! You have successfully installed your WordPress. It will bring you to WordPress Dashboard. You may now login your username and password. Note: By default, in order to login you have to type “localhost/youwordpressname/wp-login.php” on your browser.
See Related Topic:
- How to Create Free Blog in Blogger.com – 2018
- Basic SEO Tutorial For Beginners – 2018
- SEO Terms You Must Know
Source: Strix Channel
Let me know in the comment section below if this tutorial helped you.