Logo Sigrep

Create a Website Offline? Here’s How to Quickly Install WordPress on a Local Computer

grepadmin
|
27 August 2025
Sigrepos Instal WordPress di Komputer Lokal
You can install WordPress on your computer for free without hosting! Just install XAMPP, download WordPress, move it to the htdocs folder, activate Apache & MySQL, create a database, then open localhost/wordpress in your browser. Once the installation is complete, you can immediately start building your website

Installing WordPress on a local computer is very easy and free. This is especially useful if you want to start building your own website.

In this article, we’ll show you how to install and use WordPress for free, without needing paid hosting or a domain.

1. Install XAMPP as a Local Server

As the first step, we need a local server. For that, we’ll use software called XAMPP.

Open your favorite browser and type “XAMPP download” in the search bar. Next, you’ll be directed to the official website www.apachefriends.org.

After that, click the Download XAMPP button according to your operating system, whether it’s Windows, Linux, or macOS. For example, here we’ll be using the latest Windows version.

Install WordPress on a Local Computer with Apachefriends

Once the XAMPP file has finished downloading, run the installer by double clicking it. An administrator permission request will appear click Yes to continue.

Install WordPress on a Local Computer Using XAMPP Installer

Next, the XAMPP installation wizard will open. Simply click Next on each step until the installation process is ready to begin.

By default, XAMPP will be installed on the C drive in a folder named xampp. Once all settings are confirmed, click the final Next and the installation will start.

2. Download and Extract WordPress

While waiting for the XAMPP installation to finish, let’s continue by downloading WordPress. Open a new tab in your browser, type “WordPress download,” and press Enter

Install WordPress on a Local Computer with WordPress

You will find the official WordPress website at wordpress.org. After that, click the Download WordPress 6.8.1 button or the latest version available.

Once the ZIP file has been downloaded, proceed by extracting it. To do this, right-click on the file and select “Extract All.” Wait until all WordPress files are fully extracted to your chosen location.

3. Move the WordPress Folder to the XAMPP Directory

Next, we’ll move the extracted WordPress folder into XAMPP’s htdocs directory. Open the extracted folder, then cut or copy the WordPress folder. After that, go to C:\xampp\htdocs and paste the WordPress folder there.

Install WordPress on a Local Computer: WordPress Folder

With this step, we have placed all WordPress files into the local server that we will use.

4. Running XAMPP and Creating a Database

Once everything is ready, open the XAMPP Control Panel. Then, click Start for both Apache and MySQL to activate the local server. You will see that the ports and PIDs are running correctly.

Install WordPress on a Local Computer: XAMPP Control

Next, click the Admin button under MySQL or type localhost/phpmyadmin to open phpMyAdmin in your browser. Once it opens, click New on the left to create a new database. Give the database a name, for example, wordpress, and then click Create.

Install WordPress on a Local Computer: Creating a Database

5. Start Installing WordPress in the Browser

Next, open a new tab in your browser and type localhost/wordpress, then press Enter. You will be directed to the WordPress installation page. Choose your language and click Continue, then click Let’s go.

Install WordPress on a Local Computer: Choosing Language

Install WordPress on a Local Computer: Installing WordPress

In the data entry section, enter the database name you created earlier, which is wordpress. For the username, enter root and leave the password field blank. Once all the information is filled in, click Submit, then click Run the installation.

Install WordPress on a Local Computer: Database Entry

Next, you will be asked to fill in your site details such as Site Title, Username, Password, and Email. For example, fill in :

  • Site Title : Demo Website
  • Username: root
  • Password: root
  • Email: emailkamu@contoh.com

Check the option to confirm using a weak password, then click Install WordPress.

6. Login and Explore the WordPress Dashboard

Once the installation is complete, click Login and enter the username and password you created. After logging in successfully, you will be directed to the WordPress dashboard.

From there, you can click Visit Site to see your website’s initial appearance. You can also customize the look by going to Appearance > Themes and installing themes like Astra, Kadence, or OceanWP.

Install WordPress on a Local Computer: WordPress Dashboard

As additional information, we have created several tutorials about these themes. You can watch the full videos on the Sigrep_me channel.

In conclusion, you now know the step-by-step process to install WordPress for free locally using XAMPP. With this process, you can experiment and build your website as you wish without needing to rent hosting first.

Thank you very much for reading. We hope this article is helpful. See you in the next guide, and good luck building your dream website!

Photo Source : Farhat Altaf on Unsplash

Logo Sigrep Putih
Sigrep is a Professional Affiliate Platform. Here, we will present engaging
content that will expand your knowledge
© Copyright 2023 - Sigrep - All Rights Reserved
listchevron-downcross-circle linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram