How to install WordPress locally on Windows in 5 steps

Installing WordPress locally on Windows gives you a playing field where you can examine WordPress without worrying about any causal damage to your live website. It also allows you to learn, practice and master WordPress and all of its detailed features.

Say you want to try out a new update, plugin, or make a significant change to your website’s theme – or experiment the way you want – without harming the main website. It’s like having a coarser page for your WordPress website, giving you a decent space to test out risky changes.

What is a WordPress Localhost website?

A localhost WordPress website is a version of WordPress installed locally on your computer, creating a temporary database and server for testing purposes. You can definitely test as much as you want and safely edit as much as you can.

Once you are happy with the changes, you can export the localhost WordPress website to replace your main WordPress website. So you don’t need to affect your live website while customizing and preparing for changes.

Install WordPress locally on Windows

Installing WordPress locally on Windows might seem like a hectic process, but it’s comfortable if you operate systematically. Here, we’ve organized 5 easy step-by-step instructions for installing WordPress locally on Windows.

Step 1: Download and install XAMPP

XAMPP and WAMP are two very important local server solution packages for MySQL, PHP, Apache, etc.

WAMP is specially designed for Windows, while XAMPP is cross-platform and works in all operating systems. Moreover, you can also host and edit regular websites on Windows using XAMPP.

Here we will go with XAMPP because if you change your operating system the process does not change for you. However, if you want to use WAMP, here’s how to set up your own WAMP server.

Download and install XAMPP as local. And once XAMPP is running on your system, you will have the XAMPP control panel visible on your screen. Here you can use the control panel to navigate and manage your computer’s server and database features.

Click it Start button next Apache & MySQL to start their functionality on your PC.

XAMPP Control Panel

If the background color of the names changes to light green, the modules are started and functioning correctly. You can use the Stop to stop them at any time.

You can ignore other features like FileZilla, Mercury, and Tomcat. Unless you know for sure you need them, keep them powered off to avoid additional strain on your server.

Step 2: Create a localhost database

XAMPP contains MySQL. So you can create a database using it. Click on the Administrator option next MySQL on the XAMPP control panel. This will take you to the phpMyAdmin databases dashboard.

create a database in phpMyAdmin

To select New in the left sidebar and enter the precise name of your database, then select Snack type. By clicking on the Create The button will create a localhost database.

Related: Host and Edit Websites on Windows for Free Using XAMPP

Step 3: Download the latest version of WordPress

Always download the latest version of WordPress: download WordPress.

You will receive a zipped folder containing WordPress files. Extract the file and there will be a folder containing the main WordPress files. Rename the folder as your database name (my website). Keep the same name for the WordPress database and folder. It is necessary to synchronize the database and files.

In the XAMPP control panel, go to Explorer> htdocs. Paste the renamed WordPress file (my website) inside of htdocs folder.

copy paste WordPress files into htdocs

Step 4: Install WordPress and create a localhost website

Open your web browser. In the address bar, type localhost / mysite, and click to enter. Here my website is the name of the server.

Configuring the WordPress installation language

If this WordPress installation panel appears, you’ve done it wonderfully so far. If not, recheck and repeat the previous steps.

Select your preferred language and click on Carry on proceed.

In the next window, you need to choose the database you want to use with your localhost WordPress website. Fill in the fields like this:

  • Database name: mysite (the database we created above)
  • Username: root
  • Password: (leave this field blank)

WordPress Installation User Details

After filling in the fields, click on the Submit button at the bottom of the page.

In the next window, click on the Run the installation button to start the WordPress installation process.

run WordPress installation

On the next page, enter your Site Title, to choose username, Password and provide an email address. Then click on the Install WordPress button. In a few seconds, you will have WordPress installed on your windows locally.

create a localhost WordPress website

To visit your localhost WordPress website, type localhost / mysite in the address bar of your web browser.

Related: How to Install, Update, and Remove a WordPress Theme

Localhost WordPress website

Step 5: Log into your WordPress Localhost website

Type localhost / mysite / wp-admin on your address bar. This will take you to the login page.

Enter the previously chosen username and password to log into your localhost Windows WordPress website.

WordPress localhost login page

If you want to change your localhost website password, go to Users> All users> Admin> New password / Change password. If you have not changed the default password, you may be prompted to enter a new password instead of changing the password.

Visit the WordPress dashboard and find all Customize your site on the screen to start customizing. Following the button will take you to the website personalization menu.

Customize WordPress localhost website

In the customize menu, you can make several changes to your localhost website. WordPress version 5.7 introduced changing themes for site color, background, menu, widgets and many more in an organized customization menu.

Related: Set Up Your Blog With WordPress: The Ultimate Guide

Local WordPress on Windows is a bliss

WordPress gives you one of the most spectacular features, creating their same website using the same plugins in your personal computer. Opportunities like this give you more space in the development and maintenance of your website.

You can mirror the live site and keep making changes until you are satisfied. Additionally, a localhost WordPress website helps you when you have issues, encounter errors on the site, need to find bugs, customize your site, and more. Installing WordPress on Windows locally is useful!

How to install WordPress on Bluehost

Bluehost is one of the largest and most popular web hosting providers. Here is a simple guide on how to install WordPress on Bluehost.

Read more

About the Author


Source link

Comments are closed.