What is WordPress and How to Install WordPress Easily On Localhost XAMMP

 On the off chance that you've at any point investigated constructing a site, you've likely known about WordPress. You realize a well-known stage should make getting on the web simple. However, what precisely is WordPress? Furthermore, how would you utilize it?



Hello Everyone! Welcome back to PH Wizards. Today on this occasion our tutorial is What is WordPress and How to Install WordPress Easily On Localhost XAMMP.


What is WordPress?

WordPress is one of the world's most basic and well-known content administration frameworks  CMS for short. This implies you give the substance while the stage does the coding and coordinating for you.open-sourcIf you're all searching for the right website designer to kick your site off, WordPress is the best approach.

WordPress is an open source site creation project, and that implies there are many workers from one side of the planet to the other attempting to further develop the stage consistently. It likewise implies it's allowed to use without paying a permitting expense.

Difference between (WordPress.com) & (WordPress.org)


There’s an important difference between using WordPress.com and the self-hosted WordPress.org. We recommend using WordPress.org because although it requires you to use a domain and web hosting site, it means you’ll be in complete control over your content. You can use custom themes and plugins, your site will be ad-free and you can use custom analytic tools that work better than the ones that come with WordPress.com.

  • WordPress.com!

WordPress.com gives every one of the devices a facilitated WordPress site. It offers clients a WordPress stage for making a site ready with no coding mastery required, and WordPress.com deals with all the continuous administration of the site. At its easiest level, all clients need to do is to pursue a free record, pick a subject, and begin distributing. This settles on WordPress.com a well-known decision for understudies, bloggers, and creatives who don't have a need — or have an interest in — the full scope of customization choices presented by WordPress.org.

WordPress.com offers different plans beginning with the essential free record. For additional administrations and choices, for example, adding a custom subject, clients can climb to paid plans that incorporate Personal, Premium, and Business. Every one of these paid plans takes into consideration more noteworthy customization and command over the site's tasks so it all the more intently looks like a self-facilitated WordPress site.

Yet, the comfort and usability that makes a WordPress.com site so engaging likewise have their downsides. Except if a client moves up to a paid arrangement that incorporates a custom space name, a WordPress.com site will continuously have the expansion "WordPress.com," in the site name — a definite sign that you're utilizing a facilitated site. A space name that remembers the hosting supplier that way can flag an individual webpage or blog, not an expert website committed to carrying on with work or offering help.


  • WordPress.org!


WordPress.org is the home of the WordPress programming records, an assortment of layouts in the PHP programming language that can be changed by any client. With its huge assortment of adaptable layouts, modules for added usefulness, and a visual content tool, WordPress can be utilized by the two novices and experienced site fashioners, who can work straightforwardly with its records and template for exact customization. Yet, with this self-facilitated rendition of WordPress, it ultimately depends on the client to keep up with the site besides highlights presented by the facilitating supplier and to introduce the modules and different components for tweaking the site.


How to Install WordPress On Localhost?

Installing WordPress on localhost is very straightforward.

The important thing to remember is that WordPress itself does not run directly on your local machine. It requires a web server, PHP, and a database (MySQL is a popular choice) for proper operations. The combination of these components creates the environment in which WordPress operates.

Typically, the process of building a WordPress environment consists of the following steps:

  • Setup the environment
  • Download a stable WordPress version
  • Install WordPress on the localhost

Install WordPress on Windows

This section covers the WordPress installation on Windows operating system. The following steps demonstrate how to set up and configure a virtual host on Windows 10 using XAMPP.

Step 1: Download XAMPP and WordPress

Before downloading WordPress, it is important to set up the proper environment it runs in. On Windows, this is accomplished by installing XAMPP or WAMP to set up a server – database stack (the industry-favorites are Apache as a web server and MySQL as the database).

In this guide, I will be using XAMPP, downloadable from the Apache website.

Download XAMPP

You will see various options that work with different PHP versions. I selected the options that work best with the latest PHP version.

Once the download finishes, run it to install XAMPP on your local system. After installation, launch the control panel to view and set the status for Apache, and MySQL.

install XAMPP

Starting these two services is necessary for installing WordPress locally.

Step2:  Install and Setup WordPress Locally

After setting up the webserver and database, download WordPress setup from the official website.

Install and Setup WordPress Locally WordPress, 64 MB .rar

Setup WordPress Locally

Move the zip file to the /htdocs folder in the XAMPP directory. Unzip the file and navigate to the project directory.

IMPORTANT: Make sure Apache and MySQL services in the XAMPP control panel are up and running.

Next, visit the phpMyAdmin portal to create the database of your new WordPress site. You will most likely find the portal on the following URL (depending on your port configuration).

  1. http://localhost:80/phpmyadmin/

phpmyadmin

Once the database is created, launch the WordPress installation setup by visiting the following URL.

  1. http://localhost:80/newwpsite/wp-admin/setup-config.php

launch the WordPress

Select the desired language and click ‘Continue’.

On the next screen, follow the steps to add database credentials to the wp-config.php file.

add database credentials to the wp-config.php file

Open wp-config.php file within your favorite code editor and define database credentials as follow:

  1. // ** MySQL settings - You can get this info from your web host ** //
  2. /** The name of the database for WordPress */
  3. define( 'DB_NAME', 'newwpsite' );
  4. /** MySQL database username */
  5. define( 'DB_USER', 'root' );
  6. /** MySQL database password */
  7. define( 'DB_PASSWORD', '' );

Save the file and head back to WordPress installation wizard.

WordPress installation wizard

Enter the database name, username, and password. You may also define your own table prefix but for now, I am keeping the default value. When finished, click ‘Submit’.

The next screen will confirm the successful database configuration Click ‘Run the installation’ to begin the WordPress installation process.

Run the installation

In the next screen, provide information about your website and set the username and password to access the WordPress dashboard.

WordPress dashboard

Once done, click the ‘Install WordPress’ button. This will show the success message and the button to launch the very well known WordPress dashboard login page.

WordPress dashboard login page

That’s all you need to do to install WordPress locally on your Windows machine.