0% found this document useful (0 votes)
75 views

Installation of WordPress To XAMPP Localhost

The document provides instructions for installing WordPress locally using XAMPP. It explains that creating a local WordPress site allows testing themes and plugins without creating an actual website. The steps include downloading WordPress, extracting the files, copying the WordPress folder to the XAMPP htdocs directory, accessing the site URL, creating a database using phpMyAdmin, configuring WordPress with the database details, and completing the installation process. Once installed, the local WordPress site can be used to test features before deploying live.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views

Installation of WordPress To XAMPP Localhost

The document provides instructions for installing WordPress locally using XAMPP. It explains that creating a local WordPress site allows testing themes and plugins without creating an actual website. The steps include downloading WordPress, extracting the files, copying the WordPress folder to the XAMPP htdocs directory, accessing the site URL, creating a database using phpMyAdmin, configuring WordPress with the database details, and completing the installation process. Once installed, the local WordPress site can be used to test features before deploying live.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Republic of the Philippines

ILOILO SCIENCE AND TECHNOLOGY UNIVERSITY


La Paz, Iloilo City
MIAG-AO CAMPUS

VIRTUAL TVET STUDENT EXCHANGE PROGRAM


(Under the SEAMEO-TVET Exchange Programme 2022)
MAY 23 – JUNE 10, 2022

WordPress Installation
Why Create a Local WordPress Site?
Creating local WordPress sites is a common practice among developers and site owners.
It allows you to test WordPress without creating an actual website on the internet.
Local websites are only visible to you on your computer. You can try different WordPress themes
and plugins, test their features, and learn the WordPress basics.
If you already have a WordPress website, then you can create a local copy of your
website on your computer to try out new plugin updates before implementing them on your live
website.

Important:
Local website will only be visible to you on your computer. If you want to make a live
website, then you’ll need a domain name and WordPress hosting.

Creating a Local WordPress Site with XAMPP


First, you will need to download WordPress. Visit the WordPress.org website and click on
the ‘Download WordPress’ button.

After downloading WordPress, you need to extract the zip file, and you will see
a WordPress folder. You need to copy this folder.

1|P age WordPress Installation – A. NARTE


Republic of the Philippines
ILOILO SCIENCE AND TECHNOLOGY UNIVERSITY
La Paz, Iloilo City
MIAG-AO CAMPUS

VIRTUAL TVET STUDENT EXCHANGE PROGRAM


(Under the SEAMEO-TVET Exchange Programme 2022)
MAY 23 – JUNE 10, 2022

Next, head over to your XAMPP installation folder.

On Windows it would be C:/Program Files/XAMPP/htdocs or C:/Xampp/htdocs folder.

On Mac, it will be /Applications/XAMPP/htdocs folder.

Paste the WordPress folder you copied earlier inside htdocs.


We recommend renaming the WordPress folder to websites or anything else. This will
help you easily identify your local site.

2|P age WordPress Installation – A. NARTE


Republic of the Philippines
ILOILO SCIENCE AND TECHNOLOGY UNIVERSITY
La Paz, Iloilo City
MIAG-AO CAMPUS

VIRTUAL TVET STUDENT EXCHANGE PROGRAM


(Under the SEAMEO-TVET Exchange Programme 2022)
MAY 23 – JUNE 10, 2022

Next, you need to open your favorite web browser and enter the following URL in your
browser’s address bar. https://localhost/website1/
If you renamed the WordPress folder something else, then replace website1 with your
own folder name.
This will load the WordPress installation wizard and you’ll be asked to select a language.
After selecting a language, click on the ‘Continue’ button.

On the next screen, you will see a notice that WordPress needs a database name,
database username, password, and host information.

Let’s create a database for your WordPress site.


You’ll need to open a new browser tab and visit https://localhost/phpmyadmin/.
This will launch the phpMyAdmin app that comes pre-installed with XAMPP. It allows you
to easily manage your databases using a simpler interface.
3|P age WordPress Installation – A. NARTE
Republic of the Philippines
ILOILO SCIENCE AND TECHNOLOGY UNIVERSITY
La Paz, Iloilo City
MIAG-AO CAMPUS

VIRTUAL TVET STUDENT EXCHANGE PROGRAM


(Under the SEAMEO-TVET Exchange Programme 2022)
MAY 23 – JUNE 10, 2022

You would need to click on Databases and provide a name for your new database. After
that, click on the ‘Create’ button to continue.

Now that you have created a database, you can use it for your WordPress site.
Switch back to /localhost/website1/ browser tab and click on the ‘Let’s Go’ button.
On the next screen, you will be asked to provide your WordPress database information.
Enter the database name you created earlier. Your username is ‘root’ and you should
leave the password field blank. For the database host field, you need to use localhost.

Once you are done, click on the ‘Submit’ button to continue.

4|P age WordPress Installation – A. NARTE


Republic of the Philippines
ILOILO SCIENCE AND TECHNOLOGY UNIVERSITY
La Paz, Iloilo City
MIAG-AO CAMPUS

VIRTUAL TVET STUDENT EXCHANGE PROGRAM


(Under the SEAMEO-TVET Exchange Programme 2022)
MAY 23 – JUNE 10, 2022

If you are on Windows or Linux, WordPress will now store these settings in your
WordPress configuration file called wp-config.php file.
However, if you are on Mac, then it will show you the contents of the file and will ask you
to create it.
You will need to create this file in your website’s root folder.
After creating the file, paste the text you copied earlier inside it. Next, you need to save
the file and return back to WordPress installer to continue.
In the next step, WordPress will ask you to provide information about your website. First,
enter the title you want to use for this site.
After that, you need to enter a username, password, and email address for your admin
account.

Once you have filled all the information, click on the ‘Install WordPress’ button to
continue.
WordPress will now run the installation and prompt you to log in once it’s done.
You can login to your website by going to /localhost/website1/wp-admin page and use
the username / password that you entered during installation to login.

5|P age WordPress Installation – A. NARTE


Republic of the Philippines
ILOILO SCIENCE AND TECHNOLOGY UNIVERSITY
La Paz, Iloilo City
MIAG-AO CAMPUS

VIRTUAL TVET STUDENT EXCHANGE PROGRAM


(Under the SEAMEO-TVET Exchange Programme 2022)
MAY 23 – JUNE 10, 2022

Now that you have created your local WordPress site using XAMPP, you can work on it
like you would do on a live WordPress site.

6|P age WordPress Installation – A. NARTE

You might also like