0 3 min 6 yrs

Welcome to the second edition of WordPress installation of localhost. In case you missed the first edition, check it here. Last week, we created a subfolder inside the htdocs folder and extracted the WordPress .zip file we downloaded from wordpress.org. This is where you need to be careful.

According to the tutorial by Themeisle, the extracted files go straight to the subfolder created in the htdocs folder. However, these files sit right inside the wordpress folder, which is created automatically upon the .zip file extraction.

Open the wordpress folder, copy and paste the files inside the subfolder you have created earlier. Now, delete the wordpress folder. The procedure on paragraph three is important because it enables your localhost server to communicate with the database you would create in the next step.

Failure to do so is detrimental to the opposite result. Create a database for WordPress Next, you need to create a MySQL database for your WordPress install. To do so, launch PHPMyAdmin from the XAMPP control panel. Then, click on Database at the top. Enter a name for your database and click create. You can set your database name to anything; just remember it because you will need it in the next step.

Unlike installing WordPress on a live web server, you don’t need to worry about database user when you install XAMPP and WordPress. Install WordPress locally via the onscreen installer.

On visiting your test site, you should see the normal WordPress installer. Remember, your test site address is http://localhost/FOLDERNAME.The only process where this process will differ from a normal installation is the database details. When you get to the database details, enter them as specified below. – Database Name = Name of the database you created in PHPMyAdmin. – Username = “root” – Password = leave blank Then finish the rest of the WordPress install process like normal. Once the installation process is complete, you should see a brand new WordPress install running perfectly on your localhost. That’s it, go explore!