Do you want to create a local WordPress site on your computer without purchasing hosting using XAMPP?
Installing WordPress on your computer helps you try out WordPress, test themes and plugins, and learn WordPress how to build a site.
In this article, we learn how to easily create a local WordPress site Using XAMPP software.
What is XAMPP?
XAMPP is a software package that includes all things you need to set up a local server environment on your computer.
To create a local WordPress site, you need to set up web server software (Apache), PHP, and MySQL on your computer.
PHP is a programming language and MySQL is a database management software. Both of them are required to run WordPress to create a website.
XAMPP makes it easy for you to build WordPress websites locally. It is available for Windows, Mac, and Linux-based computers.
Let’s get started by installing XAMPP software and setting it up to run your local WordPress website.
Installation Of XAMPP
First, you need to visit the XAMPP website to download XAMPP software for this click on the download button for your operating system.
After downloading XAMPP, you will need to click and run the installer.
XAMPP will ask where to install the software and which packages you want to install. The default settings will work for most of the users, keep clicking on the ‘Next’ button to finish the setup.
After finishing the setup, check the ‘start the control panel now’ button and then click on the finish button.
So, this will launch the XAMPP control panel app.
Using the XAMPP software, you can run both Apache web server as your local server and MySQL as your database server. Go to the XAMPP control panel and click on the start button next to both Apache and MySQL.
XAMPP will now start Apache and MySQL servers. You may see a Windows firewall notification, it is important that you click on the ‘Allow Access’ button for both applications to run both Apache and MySQL servers on your computer.
Once both applications are started their names will be highlighted in a Green color pattern.
Now you are ready to create a local website on your PC and install WordPress using XAMPP.
Create a WordPress Site with XAMPP
To create a website first, you will need to download WordPress. Visit the official WordPress.org website and click on the ‘Download WordPress’ button.
After downloading WordPress, you need to extract the file. After extracting the file you will see a WordPress folder. You need to copy this folder.
Next, copy the WordPress folder and go the following path to past it.
On Windows go to C:/Program Files/XAMPP/htdocs or C:/Xampp/htdocs folder.
On Mac, go to /Applications/XAMPP/htdocs folder.
Paste the WordPress folder into the htdocs folder.
Next, you need to open your favorite web browser and enter the following URL in your browser’s search bar.
https://localhost/wordpress
This will load the WordPress installation setup and you’ll be asked to select a language. After selecting a language, click on the ‘Continue’ button.
On the next page, you will see a notification that WordPress needs a database name, database username, password, and host information.
Now let’s create a database for your WordPress site.
You’ll need to open a new tab in your browser and visit https://localhost/phpmyadmin/.
This will launch the phpMyAdmin app on XAMPP| software. It allows you to easily manage and create new databases using a piece of more straightforward information.
You would need to click on Databases, and put your favorite name on which you want to create a database. After that, click on the ‘Create’ button to create a new database.
Now your database is ready to run your WordPress website.
Switch back to /localhost/wordpress/ browser tab and click on the "Let’s Go" button.
On the next screen, you will be asked to provide your database information which is created on XAMPP.
Enter the database name you created. Now your username is ‘root’ and you should leave the password blank. For the database host field, you need to use localhost.
After all, the steps click on the ‘Submit’ button to continue.
Here you need to set your website title in the “Site Title” option.
Set your username in the “Username” option, your username must be “root”.
Now set a strong password in the “Password” option remember this password because it uses to login into your dashboard feature.
Set your Email address in the “Your Email” option.
The most important step, don’t click on the “Search Engine Visibility” button, if you click on it your website doesn’t appear on google search.
Once you have filled in all the information, click on the ‘Install WordPress’ button to continue.
Now you see the login screen put your user name and password to login to your dashboard.
Know your website is ready to use customize your website with your requirements
and enjoy.
"Thanks For Visiting Our WebSite"
0 Comments