How to Install WordPress on a Computer

I already wrote number of articles on this site about WordPress. Today in this post, I will show you how to install WordPress on your computer. For those whore are really new to the WordPress, this is an important step in terms of learning and getting familiar with WordPress. So, lets get started.

Requirements

In order to Install WordPress on your computer, you would need few files that need’s to be downloaded first.
1. WordPress (Actual WordPress files).
2. XAMPP (Web Server Stack Package).
Even though I mentioned XAMPP over here but there are few other options like WAMP, LMAP, SAMP etc. However, XAMPP seems to be one of the most popular package available out there in online for free. It also supports most of the major Operating System.

Go Step by Step

I will guide you through step by step procedure so that you don’t mix up things.

Step 1: The very first thing you need do to is to download the latest version of WordPress on your computer ( follow the link from the “requirement” section).

Step 2: Download the latest version of XAMPP on your computer based on the Operating system you are using. I personally prefer the “Portable” version as you can easily copy the entire folder on your flash drive and use them from there if its required. Once again, your computer’s OS is a big factor so keep that in your mind as well. My recommendation would be download the “Portable version” that comes in “ZIP” format. So that you won’t need to run any installation whatsoever.

Step 3: Extract the ZIP file at the root directory of your hard drive. Yet another recommendation is extract it on a different partition from the Windows partition (Most cases it the C: Drive). Just in case if you need to re-install your Windows you should have your XAMPP intact.

Step 4: Double click on the “xampp-control.exe” file from the root directory of your XAMPP folder. This should open up the “XAMPP Control Panel” window. Now click on “Start” on both the “Apache” and “MySQL” row. If everything goes smoothly, you should see geen-ish background color around the Apache and MySQL text. Minimize this window as you would need this application to be running.

Step 5: Now, open your default web browser and type “localhost/index.html” and hit enter, you should see a page that says “It works!”. This indicates that your localhost server is working properly. Also remember that “htdocs” folder inside your XAMPP folder is the directory that represents the “localhost” address on your web browser. Any changes made inside “htdocs” folder would also make similar changed on your localhost site’s behavior. Inside “htdocs” folder, you should find “index.html” file as well.

Step 6: Now, unzip the WordPress zip file that you have downloaded already. At this point you need to make an important decision. Whether you want to install WordPress on your “localhost” or “directly inside “htdocs” folder or not. If you want to have your site’s url to be “localhost” only, you have to extract all the WordPress files inside “htdocs” or you can simply can create a folder (on video I created tutorial to separate my new site from the existing ones) and extract WordPress files there.

NOTE: If you are planning to work extensively on WordPress system, I am pretty sure at some point you would need to create folders inside “htdocs” for separate WordPress installation (as I did on my video) so that you can work on multiple sites or templates simultaneously for separate projects. Such organization would help you to avoid “permalink” structure issues later on as I have already shown on some of my post.

Step 7: Open up the “XAMPP Control Panel” window (we minimized it earlier) and click on the “Admin” button from the “MySQL” row. This should open up a new page (phpMyAdmin). This is where we would create our first database that is required to install WordPress. Click on “Database” from the top bar of this page. A new page should appear. Type the name of your new database and click on “Create” button. You should have your brand new database (Check the lists of databases available right underneath the input field where you just wrote your database name). If you do not care more or less about the users who can access your newly created database, simply click on the “users” menu and you should be able to see all the available users and their privileges. They are more like “global” users so these names can be used for any database created from phpMyAdmin. I personally didn’t care about this because it’s not a serious issue while installing WordPress on my computer. However, in case of live web server, you hosting provider would provide the database related information including username and password.

Just in case if you are willing to add custom user for your database. Simply click on “Database” menu and take a look at the available databases available. Right next to the name of your database you should see a link that says “Check Privileges”, click on it. A new window should appear, from where you can create a new user for your database and assign various privileges with password(including global user privileges). However, I wouldn’t go anymore details about it on this post as it’s getting rather very long.

Step 8: I chose to use default “root” user and that doesn’t have any password to make the installation process smooth. Now go back to your browser and type the url of your site. You should see the Welcome screen of your WordPress Installation system. Follow the instructions as you go along and Provide the necessary information. You should have your WordPress site up and running within a minute or so.

Regardless of your installation directory, you always should type “wp-login.php” after your site’s url to find the log in page. So if you installing WP at the root directory (at htdocs folder), you should type:

localhost/wp-login.php

To get the login page. However if you are installing WP on a sub-directory (as I did on video) follow the same structure on your URL:

localhost/[folder-name]/wp-login.php

This is pretty much all you need to know to install WordPress on your computer. If you have any question or queries regarding this topic, feel free to post your question from the comment section below. Subscribe my YouTube Channel and follow me wherever possible. Stay tuned for more.

Today In History

  •  
  •  

Comment

Leave a Reply

Note: Convet HTML, PHP, JavaScripts from HTMLify, before posting from comment section.
License: By submitting a comment here you grant this site a perpetual license to reproduce your words and name/Web site in attribution. Please use your real name or a pseudonym (i.e., pen name, alias, nom de plume) when commenting. If you add your site name, company name, or something completely random, I'll likely change it to whatever I want.