How to create a WordPress blog using XAMPP (Windows) – 2019

CtechF - How to create WordPress blog using xampp (Localy)

WordPress is an open-source content management system (CMS). It’s based on PHP and MySQL. It most associates with blogging, E-commerce stores, personal sites and many more. Now WordPress control 30%of the web. In this guide, we discuss how to create a WordPress blog using XAMPP.

1) Why WordPress?

  • It’s FREE
  • High Security
  • Customizable Design
  • SEO Friendly
  • High Performance
  • Responsive Mobile Sites

2) Step by Step Guide

Step 1 – Prerequisites

1.XAMPP – Apache (A) + MariaDB(M) + PHP(P) + Perl(P)

CtechF - How to create WordPress blog using xampp (Localy) - Screenshot

XAMPP is an Open source software. It’s a Stands of Cross-platform (X). we can create a local web server using XAMPP. It’s easy to use and it works with Windows, Linux, and Mac OS. You can use alternative software for XAMPP, such as WAMP, MAMP but today I’m going to focus about XAMPP.

XAMPP Download link (121 MB) – https://www.apachefriends.org/index.html
WAMP download link (286 MB) – http://www.wampserver.com/en/#download-wrapper
MAMP download link (410 MB) – https://www.mamp.info/en/downloads/

2. WordPress (v5.1)

CtechF - How to create WordPress blog using xampp (Localy) - Screenshot

WordPress Download link (11 MB) – https://wordpress.org/download/

Step 1 Completed


Step 2 – How to install XAMPP.

  • Click on the downloaded XAMPP setup. (If you got any permission message or warning message click “OK” or “YES” button to continue)
  • It will open the XAMPP setup wizard. Click next button to continue.
CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
  • Now it asked, what components we want to install and what’s not. We only need Apache and MySQL. (select following Components and click the next button to continue)
    • Server
      • Apache – Apache Server
      • MySQL – Database Server
    • Program Language
      • PHP – Hypertext Preprocessor
    • Program Languages
      • phpMyAdmin – Database Control panel
CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
  • Choose installation location and click Next (Default: C:\xampp)  (If you got Windows Defender Firewall Permission request, Tick both checkboxes and click Allow access.)
  • Click the next button to continue Now it will install XAMPP (wait till the installation complete) After the installation complete. Click Finish.
  • It will open the XAMPP Control panel automatically.
  • This is a XAMPP Control Panel.
CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
  • Now click Start up Apache and MySQL (It will start Apache and MySQL servers)
CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
  • Now open your web browser and type http://localhost  or http://127.0.0.1 on the address bar.

Step 2 Completed


Step 3 – Creating a Database

  • Open a web browser and type http://localhost/phpmyadmin or http://127.0.0.1/phpmyadmin (it will redirect you to phpMyAdmin control page)
CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
  • Click Databases and enter the Database Name then click Create, it will create our database.
CtechF - How to create WordPress blog using xampp (Localy) - Screenshot

My database name is “wpdb2019”

Congratulation! Step 3 Completed


Step 4 – WordPress Installation

  • Open XAMPP Control Panel and click the explorer button. It will open the XAMPP installation directory.
  • Open an “htdocs” folder and Copy you’re downloaded WordPress file into the htdocs folder then extract it. (htdocs -> wordpress)
  • Then rename it whatever you like. I’m going to call it “wordpress”.

WordPress Installation (Normal configuration)

  • Enter http://localhost/wordpress or http://127.0.0.1/wordpress on your browser (It will redirect us to the WordPress installation wizard.)
CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
  • Select a language and click Continue.
  • It’s Time to connect database and WordPress. click Let’s go! It will redirect you to the “database configuration page”. Enter your Database Details, Then click submit button to continue.
CtechF - How to create WordPress blog using xampp (Localy) - Screenshot

Database Name – “wpdb2019” (you’re Database name)
Username – “root” (it’s default root)
Password – “” (it’s default empty)
Database Host – “localhost”
Table Prefix – “wp_”

  • Now time to install WordPress, Press “Run the installation”.

Note: If you got an error message. you need to configure the database manually.


WordPress Installation (Manual Configurations)

  • Open the WordPress folder where you saved WordPress. (C:\xampp\htdocs\wordpress) and find a file called, “wp-config-sample.php” and rename it to “wp-config.php”
  • Open it using your, default text editor.
CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
  • Find this section
/** The name of the database for WordPress */
define( 'DB_NAME', 'database_name_here' );
/** MySQL database username */
define( 'DB_USER', 'username_here' );
/** MySQL database password */
define( 'DB_PASSWORD', 'password_here' );
/** MySQL hostname */
define( 'DB_HOST', 'localhost' );
  • Change it like below and save changes.
/** The name of the database for WordPress */
define( 'DB_NAME', wpdb2019' );
/** MySQL database username */
define( 'DB_USER', 'root' );
/** MySQL database password */
define( 'DB_PASSWORD', '' );
/** MySQL hostname */
define( 'DB_HOST', 'localhost' );
CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
  • Select a language and press Continue.

  • After installation complete, we need to fill our site information. (Don’t worry, you can change these settings anytime)
CtechF - How to create WordPress blog using xampp (Localy) - Screenshot

Site title – ‘Demo Site”
Username – “admin”
Password – “CtechF!@#”
Your Email –
demo@ctechf.com

Done, Step 4 Completed. It’s time to log in


Step 5 – WordPress Admin Control Panel.

CtechF - How to create WordPress blog using xampp (Localy) - Screenshot
  • Enter your credentials.

Username – admin
Password – CtechF!@#

This is WordPress Admin control panel.

CtechF - How to create WordPress blog using xampp (Localy) - Screenshot

Also Read :

Hi Readers,

Hope this post will help you to install WordPress. If you enjoy my work then please share my posts with your buddies and anyone who might be interested in WordPress and don’t forget to subscribe.

If you had any problem about this post, please do mention it in the comment section.

Check out my Web designing tutorial that will help you in making your own website.

admin@ctechf


Source: https://pixabay.com (Featured Image)

Liked it? Take a second to support CtechF on Patreon!

Leave a Reply

16 Shares
Share
Tweet
Share
Pin
Share