How to install WordPress in XAMPP Windows 11


WordPress is arguably the most used and popular CMS available today. Most of the popular websites and blogs are made up of it. It was initially released on May 27, 2003 and was developed by WordPress Foundation. And for this tutorial, we are going to make a free website using this cool CMS. But before doing so, you need to download the required files to start the installation. I also provided the links for your convenience.


Requirements:



After downloading all the files, continue doing the listed tutorials below.


Table of Content

  • XAMPP installation on Windows 11
  • Running XAMPP Control Panel's Apache and MySQL
  • Copying WordPress installer to HTDOCS folder
  • Creating WordPress Database on XAMPP phpMyAdmin
  • WordPress installation via Localhost or 127.0.0.1
  • Accessing WordPress website home page
  • Accessing WordPress website ADMIN account

Here are the steps on how to install WordPress in XAMPP using Windows


XAMPP installation on Windows 11


1. Open the XAMPP file that you downloaded earlier. If a "Warning" appears, just click OK to proceed.


xampp installation warning about user account control

2. In the Setup - XAMPP, click NEXT.


xampp installation wizard welcome page

3. In the Select Components, click on NEXT.


xampp installation select components

4. In the Installation folder, click on NEXT.


xampp installation folder c:\xampp

5. In the Bitnami for XAMPP click on NEXT again.


bitnami for xampp

6. You are now ready to install XAMPP. Click NEXT again.


xampp is ready to install

7. Wait for the installation to finish.


xampp is unpacking and installing

8. When done, click on Finish to exit the installer.


xampp is successfully installed

Running XAMPP Control Panel's Apache and MySQL


1. To run XAMPP, you can click on the shortcut located on your desktop. You can also go to Start and search for "xampp" and press ENTER. Inside XAMPP Control Panel, click on the Start buttons for Apache and MySQL.


start apache and mysql in xampp control panel

2. Apache and MySQL are both running now if you see two Stop buttons.


apache and mysql is now running in xampp control panel

3. If you also see a "Windows Security Alert" just click on Allow access to exit.


allow access for windows security alert regarding xampp mysqld.exe

Copying WordPress installer to HTDOCS folder


1. Back to the WordPress zip file that you also downloaded earlier, extract it and name the extracted folder as "wordpress". Make sure all the contents of your wordpress folder is not inside a sub-folder. Now, copy your wordpress folder, go to Start and search for "this pc" and press ENTER.


search for this pc windows 11

2. Inside This PC, click on your C drive.


windows 11 c drive

3. Inside C, click on xampp folder.


xampp folder located in c drive windows 11

4. Now, inside xampp, click on htdocs.


htdocs folder located in xampp folder c drive windows 11

5. Paste your wordpress folder inside htdocs.


copying and pasting the wordpress installation folder inside xampp htdocs

Creating WordPress Database on XAMPP phpMyAdmin


1. We are now going to create a database that is needed for the installation of our WordPress site. Open your web browser and in the address bar, type 127.0.0.1 and press ENTER.


accessing xamp localhost using internet browser

2. Inside, click on phpMyAdmin.


accessing phpmyadmin using xampp localhost

3. Inside phpMyAdmin, click on Databases.


accessing phpmyadmin via xampp localhost to make wordpress database

4. Inside Create database, name it as wordpress_db for this tutorial. Next to it, change the value to utf8mb4_unicode_ci and press Create.


wordpress database name

5. In the Create table, name it as wordpress_table and leave 4 as the value of columns.


wordpress create table table name

6. In the Structure, name it as wordpress and for Type leave it as INT.


wordpress structure name

7. For Collation, select utf8_unicode_ci and leave all the other fields blank.


wordpress collation utf8_unicode_ci

8. Save your work.


save structure collation for wordpress

WordPress installation via Localhost or 127.0.0.1


1. We are now going to install our WordPress site. Open your web browser. In the address bar, type 127.0.0.1/wordpress and press ENTER.


accessing wordpress installation folder via xampp localhost using web browser

2. In the Language, by default English (United States) is already selected. Just press Continue to proceed.


wordpress installation select language

3. In the "Welcome to WordPress..." you will be needing the following; Database name, username, password and host. We already have all of these so, just click on Let's go! to proceed.


wordpress installation needed database settings

4. In the Database configuration, enter the following: Database name - wordpress_db, username - root, Password - blank or none, Database Host - localhost, Table Prefix - wp_ (which is already there). When done, click on Submit.


wordpress installation database configuration

5. We are now ready to install our WordPress website, click on the "Run the installation" to confirm.


run database installation

6. In the "Information needed" just name your WordPress site for the Site Title. In Username name type "admin" and in the password, type your desired password. Do not forget both your username and password. You will be needing those later to login your admin account. Enter your email address and press Install WordPress to proceed.


wordpress installation site settings

7. Done! Your WordPress site is successfully installed. 


successfully installed wordpress website

Accessing WordPress website home page


1. To access your WordPress website homepage, just go to 127.0.0.1/wordpress or localhost/wordpress.


sample wordpress website homepage

Accessing WordPress website ADMIN account


1. To access your WordPress admin account. Go to 127.0.0.1/wordpress/admin. Enter your username and password and press Login.


sample wordpress website admin login page

2. Inside your administration page, you will see there settings, links and configurations that is only available to you as owner and admin of your WordPress site.


wordpress admin account administration page

Thank you for reading this post guys. I do hope you have learned a lot while doing this tutorial. If you have question, you can leave a comment below. Cheers!

No comments:

123how.xyz only wants on-topic comment. Do not include any link, else your comment won't be published. Thanks!

Most Read Tutorials:

Powered by Blogger.