Académique Documents
Professionnel Documents
Culture Documents
Obtenez tous nos 32 thèmes WordPress Premium d'une valeur de 1888 $ à seulement 99
$ ! Offre d'une durée limitée.
Obtenez le maintenant!
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 1/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
L'installation locale de XAMPP et de WordPress est une excellente idée si vous souhaitez
un site de développement à des fins de test et à d'autres fins.
XAMPP est un outil pratique qui vous permet d'exécuter un site Web à partir de votre
propre ordinateur. Une fois installé et configuré, vous pouvez installer WordPress en
quelques clics.
De plus, si vous avez l'habitude de développer vos sites Web sur un serveur en direct,
vous seriez fasciné de passer à un environnement de développement local comme
XAMPP. Avec une vitesse de développement irréprochable et une fiabilité
exceptionnelle, vous ne pourrez jamais revenir aux anciennes méthodes.
La0 plupart des développeurs WordPress et des propriétaires de sites Web installent
souvent WordPress localement sur leurs ordinateurs. Ils le font pour tester les nouvelles
versions, thèmes , plugins et mises à jour avant de les utiliser en production.
Partager
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 2/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
Ici, nous vous guiderons étape par étape sur la façon d'installer XAMPP et WordPress
localement sur un PC Windows. De plus, vous pouvez également suivre les étapes de
configuration du multisite WordPress localement avec XAMPP.
Avant de commencer avec les détails les plus importants, consultez ce guide complet
sur Comment installer WordPress localement sur un PC Windows à l'aide de WAMP.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 3/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
Testing:
Installing WordPress locally on Windows allows you to test upgrades, tweaks, and other
customizations safely.
Website Staging:
The local WordPress website can be used as a WordPress staging site. Once you make
the modifications you want, you can upload them to your live website.
Development:
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 4/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
The local version of WordPress is the best environment to create and modify different
WordPress themes and plugins.
Offline Access:
A local installation of WordPress doesn’t need an active internet connection. As a result,
you can access your local installation even if your connection goes down or if you are in
a remote place and have no internet access.
Speed:
Comparatively, local WordPress installations run quicker than their online counterparts.
Installing it locally saves you ample time.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 5/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
After the download finishes, run the .exe file to launch the XAMPP installer. Click on the
Next button to continue.
In the next step, you should select the server and program language components you
want to install. All components are already selected by default. As you don’t need every
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 6/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
element to install XAMPP and WordPress, just tick on MySQL and PHPMyAdmin and
click on the Next button.
Next up, you need to select the folder where you want to install XAMPP. It’s better to
leave it as the default. Click on the Next button to proceed.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 7/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
Once you get redirected to the next screen, select your preferred language, and click
on the Next button.
Next up, you will get a prompt related to the information about Bitnami for XAMPP. As
you don’t need this to install XAMPP and WordPress, uncheck the option and click on
the Next button.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 8/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
On the next screen, you can see the message. The setup is ready to begin installing
XAMPP on your computer. Click on the Next button and wait for few minutes until it
gets completely installed.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 9/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
Once the process completes, you can click on the Finish button and launch the control
panel to start working with XAMPP.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 10/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
Once you start the modules, you can see their status turn to green.
After that, you can now check if your local server is working or not by going to
http://localhost/ in your web browser.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 11/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
If you see a screen similar to the above, you are good to go. Now, it’s time to add the
WordPress files and get your WordPress website up and running on XAMPP.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 12/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
After that, explore the folder where you installed XAMPP and find the htdocs subfolder
in that main folder.
Inside the htdocs folder of XAMPP, create a new folder for your test site. The folder
name you create becomes the sub-name used to access your site. For instance, if you
name the folder test, you can access your site by going to http://localhost/test.
Once you create the folder, extract the WordPress.zip file that you downloaded a while
ago in that folder.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 13/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
Now, you need to create a database for WordPress in the next step.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 14/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
Once you are redirected to the database creation menu, enter your database’s name
and click on the Create button.
Make sure to remember your database’s name as you need to use it for the next step.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 15/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
Now, select the language you prefer and click on the Continue button to go to the next
step.
In the next step, you can go through some important instructions regarding the
upcoming steps and then click the Let’s go button to proceed further.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 16/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
Now, this is the most crucial part of the installation process. Here, you need to input the
name of the database that you created earlier and fill up the information as shown
below. Once you input all the information, click on the Submit button.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 17/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
In the next screen, input the details like site title, username, password, and email, and
then click on the Install WordPress button to complete the installation process.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 18/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
Now, you can easily log in to your WordPress dashboard with the username and
password you set earlier. For that, go to http://localhost/FOLDERNAME/wp-login.php
There you go! You have successfully installed WordPress locally on your Windows PC.
Your WordPress dashboard should appear similar to this:
define('WP_ALLOW_MULTISITE', true);
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 19/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
Note: You can edit the config file simply using Notepad++ or Sublime Text.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 20/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
On the next step, enter the name of your multisite network and your network admin
email address. After that, click on the Install button to continue.
Next up, WordPress will prompt you to edit your wp-config.php and .htaccess files. You
need to add the codes provided by WordPress in the respective files.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 21/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
Now let’s show you how you can edit these files in the next step.
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'localhost');
define('PATH_CURRENT_SITE', '/test/');
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 22/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
Next up, open .htaccess file (xampp -> htdocs -> FOLDERNAME -> .htaccess) and
replace all of its code with the one provided by WordPress.
Lines of code to include:
RewriteEngine On
RewriteBase /test/
RewriteRule ^index\.php$ - [L]
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 23/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-
(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
After you complete all of these processes, you will have to log in again to your
WordPress dashboard.
Once you log in, you will be able to access individual sites in your multisite network from
your dashboard.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 24/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
Once the file gets downloaded, run the setup wizard then select your preferred
language and press the Next button.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 25/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
In the next step, you need to select the folder where XAMPP was previously installed.
Click the Next button once you locate it.
Next up, fill in the details, and Bitnami will create your WordPress admin account.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 26/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
Now, simply enter the name of your WordPress installation and click the Next button.
In the next step, you can choose from two options: Gmail and custom email provider. If
you select Gmail, you should enter your Gmail address and password. Likewise, if you
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 27/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
select a custom email provider, you need to enter all your email provider’s SMTP
connection information.
Here, we will show you by selecting Gmail.
Now, enter the Gmail address and password and click the Next button.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 28/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
Now, wait till the setup wizard completes the installation of WordPress.
Once the installation completes, click the Finish button to launch the Bitnami
WordPress module.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 29/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
There you go! Now you can access your website with the URL shown in the image
below:
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 30/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
• Tomcat: Tomcat is a handy application server that runs Java-based web applications.
• PHP: PHP is one of the essential components for installing WordPress. It is a server-
side scripting language that is used for creating dynamic web pages.
• Perl: Perl is another programming language widely used by programmers for writing
CGI scripts.
• PhpMyAdmin: This is a crucial component that handles the administration of MySQL.
• Webalizer: Webalizer is a log file analyzer that generates statistical reports about how
many people visit the website and what they look for.
• Fake Sendmail: It is used to test email transfer in the localhost. Fake Sendmail
becomes important if you are working on a project that involves sending emails.
Among these components, you should choose Apache, MySQL, PHP, and phpMyAdmin
for a WordPress installation.
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 33/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
If you already run a WordPress site, you can create a local copy of your WordPress site
directly on your computer. This lets you test new updates before you decide to
implement them on your live website.
The main reason to create a WordPress testing website is to root out compatibility
issues between your tools, themes, plugins, and WordPress core before adding them to
your live site. By creating a copy of your website, you can easily host it locally on your
PC, do test runs on it, and migrate it back whenever you want.
Our Say
It’s a useful practice to install XAMPP and WordPress locally on your computer. With
XAMPP, you can easily develop and test your WordPress website rather than doing it the
hard way on a live site.
Once you know how to install XAMPP and WordPress locally on Windows PC, you can
test various features, try out different themes and plugins, and experiment with many
other aspects before making your website live. Also, you can Install WordPress Locally
Using Wamp and try various features.
We hope that you found this thorough guide helpful. Don’t forget to pass the
comments if you have anything to share about the topic. We have a whole comment
section to read your thoughts.
Leave a Reply
Your email address will not be published. Required fields are marked *
Comment
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 35/36
14/04/2023 21:26 How to Install XAMPP and WordPress Locally on Windows PC?
Comment
Name*
Name*
Courriel *
Email*
Site Internet
Website
Poster un commentaire
https://rarathemes.com/blog/install-xampp-wordpress-locally-windows-pc/ 36/36