There are so many advantage in building a wordpress site offline. These tutorial we will guide how to build a wordpress website offline without internet. You can modify files and pages more faster and effectively than using cpanel or any other web hosting control panel.
WordPress is very fast and easy to install. So developers build their wordpress site offline first and then upload them to a live server. For that they use their own computer and make a virtual environment to host the website. There are also other benefits of making website offline. You may not have internet, slow internet, you're travelling or on the road but still you can build your website offline.
If you have Xampp installed before on your computer or laptop and you downloaded the core wordpress then anytime you can use them to build a website. For that you need not a live web server or web hosting. Even starters use that method for testing and learning.
Let's begun, You might hear about Xampp. Xampp stands for Cross-Platform(X), Apache(A),MariaDB(M), Php(P) and Pearl(P). It will active virtual environment on your computer and you can work on a website without putting the files and databases on internet.
At first you have to download Xampp for their Official Website. You can download 7.4.14/php version as most of the wordpress themes and plugins work very good with php 7.4. Then run the installation.
Mark all the components and go next.
Here should be a installation folder. You can go next or can choose a different folder. Choose the language. Click next and install it on your pc.
Now open the installed Xampp and start apache and mysql by clicking start.
If you had downloaded wordpress before extract them on a folder of your pc. Otherwise download the latest version 5.9 from wordpress official website.
Move the folder on Windows(C:)>Xampp>htdocs. Rename the folder as you want.
Now go to a browser and type localhost/testsite and click on Let's go. It will ask you for database information.
Now go to a new tab and run localhost,/phpMyAdmin. Create a new database and new user.
Connect them and note the database information like user, db name, password. Put them on your wordpress installation and run the installation. WordPress is now installed. You can login to your wordpress admin panel by visiting localhost/testsite/wp-admin.