wordpress xampp install guide 2022

in this wordpress xamp tutorial i will guide you and show you how to do it step by step . this wordpress xampp install guide 2022 is very easy, you dont need any skils you just need a pc and downloading xampp and wordpress .

XAMPP will give you access to : Apache, MySQL, PHP, Perl, FileZilla, phpmyadmin , Mercury, and Tomcat.

Step 1: Install XAMPP

First of all, you’ll need to download xampp so go to this link Apache Friends website

Install XAMPP.

Run XAMPP and configure your environment.

Start Apache and start MySQL by clicking start

xampp install guide 2022


Next create a file with notepad right hello inside and save it as index.html

Next go to your /htdocs folder remove all file inside and upload your index.html file there .

Then open a web browser, enter http://localhost/ into your address bar and hit Enter.

You must see the hello text in your browser.

Find your local ip adresse fix it and open some port then point your domain name to the IP address of your computer .

Step 2: Installing WordPress

Download WordPress:


Create MySQL Database for your WordPress website

Unzip WordPress, and move all files in root directory folder inside /htdocs folder

Path to root directory : C:\xampp\htdocs

root directory folder inside /htdocs folder 

Open your browser, enter  http://localhost/phpMyAdmin

  1. Create a new database user with GRANT ALL PRIVILEGES.
  2. GRANT ALL PRIVILEGESOpen wp-config-sample.php file with notepad ++
  3. define(‘DB_NAME’, ‘test’);
    /** MySQL database username */
    define(‘DB_USER’, ‘put your user name’);
    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘put your pass here’);
    /** MySQL hostname */
    define(‘DB_HOST’, ‘loacalhost’);
  4. Type your database name, user name and password and Save file as


Open your browser and go to your website http://localhost/

Enter your details and click “Install WordPress”

your installation is done you must save your admin infos

then go to you local admin dashboard from this link :http://localhost/wp-admin

connect using your infos and congratulation your first website wordpress install using xampp was done successfully.

How to change a wordpress theme on xampp

change a wordpress theme on xampp is very easy .

you can do ut simply from your admin dashboard from this link :http://localhost/wp-admin  Then go to themes , and click on add new and select a free themes and click apply.


if you want to do it manualy you just need to download a themes for wordpress or buy one then coppy past this folder in your xampp folder : C:/xampp/htdocs/wp-content/themes.

same for your plugins you will find them here : C:/xampp/htdocs/wp-content/plugins

Why should i install wordpress on xampp

some people need to install wordpress on xampp to build and test new themes, also to test plugins, or to test WordPress security issues 2022 like: Unauthorized Logins, Outdated Themes and Plugins,Malware, SQL Injections, Search Engine Optimization Spam,and Cross-Site Scripting.

using xampp with wordpress localy will help you to learn more about web development .

how to host a website using xampp

1.Register a domain name.

2.Code your website. …

3.Find out what your IP address is. …

4.Point your domain name to the IP address of your computer. …

5.Find out if your ISP supports hosting. …

6.Ensure your computer at home can support hosting. …

7.Ensure your computer is secured.

8.Monitoring if all work fine.

9.xampp server optimization .

10.your website is hosted using xampp.