BloggingTips.Guru

Learn How to Blog Effectively

  • Facebook
  • Linkedin
  • Pinterest
  • RSS
  • Twitter
  • Home
  • Blog
    • Blogging
    • SEO
    • Web Hosting
    • WordPress
  • Earn Money
  • About
  • Contact
  • Start a Blog
  • Deals for Bloggers
BloggingTips.Guru WordPress How to Install WordPress on a Local Server (XAMPP)

How to Install WordPress on a Local Server (XAMPP)

Author: Rajesh Namase   Last updated on: March 30, 2020    Leave a Comment  

In this article we’ll show you how to install WordPress on your local computer. Why is it useful to have WordPress on your local computer? Well, maybe you’ve a website, and you want to change something on the website’s theme, but you don’t want to risk that if you mass up something, your website will go down, and you’ll lose a lost of visitors or you might want to create your own theme and with a WordPress on your local server make is much easier.

Install WordPress On Local Server

How to Install WordPress on a Local Server

To be able to install WordPress on your local server, first you need to have one. There are many server software like XAMPP, WAMPP or many others. We prefer XAMPP because it’s easy to install, to control and to manage your websites with it.

How to Install XAMPP

  1. First of all you need to Download XAMPP. When downloading it, make sure you choose the right version (We prefer to install it with the installer, not with the ZIP version).
  2. After you downloaded it, run the installer, make sure to check MySQL and Apache these two are the most important things you must have to install WordPress on your Local Server (You can install FileZilla as well but we’re sure you have it already).
  3. After the installation is done, reboot your computer. It is important to reboot it, or otherwise the Apache will not work properly.
  4. After you restarted your computer, open up the XAMPP Control Panel and click on Admin in your the second row. Where it says MySQL. That will open up your MySQL database, and you’ll be able to create/edit/delete databases and users.

How to Install WordPress

  1. Create a new Database and call it what ever you’d like to. This will be your WordPress’s Database.
  2. Go to http://www.wordpress.org and download the latest Version of WordPress. Go where you installed XAMPP, default is C:/XAMPP and go to htdocs and extract the zip there. (C:/Xampp/htdocs)
  3. Open up your internet browser and type in Localhost or http://localhost it should open up your WordPress Installation.
  4. Press “Let’s Go” then enter the details:
    • Databse name: (The database you created earlier)
    • Username: (Your MySQL databse username default: root)
    • Password: (Your MySQL password, leave it empty)
    • Host: Localhost
    • Table Prefix: (You can leave it WP_ or leave it empty.)
  5. Press next, create your admin account.
  6. Login. You are done.
READ
How to Start a Blog in 2019: Free Beginners Guide

Security Settings

If you leave everything default you risk your computers safety. What can you do about this? You can add a password to every default user in your MySQL center. To do this, go to http://localhost/phpmyadmin in the top menu search for “users” then select one user, and click edit Edit Privileges scroll down until you see password. Add your password of choice there and then press GO. Do this for each user.

Be sure to go to c:/XAMPP/htdocs, and search for wp-config. Open it up with any text editor, and search for:

/** MySQL database username */
define(‘DB_USER’, ‘root’);

/** MySQL database password */
define(‘DB_PASSWORD’, ‘ pass here ‘);

And change the username and password to the new ones and you are done. If you’re facing any problems let us know in form of comments below.

Share
Tweet
Pin
Share
0 Shares

Filed Under: WordPress    Tagged: WordPress Tutorials

Share
Tweet
Pin
Share
0 Shares

More on BloggingTips Right Now!

  • CleanTalk Plugin - Find PluginCleanTalk — the no-CAPTCHA yet Effective Way of Spam Fighting for WordPress

  • Genesis WordPress Framework ReviewGenesis – A WordPress Theme Framework by StudioPress

  • WordPress SEO TutorialWordPress SEO Tutorial: Integrating SEO with WordPress

  • WordPress Theme WordPress Framework Child ThemeWordPress Theme, WordPress Framework and Child Theme

About Rajesh Namase

Rajesh Namase is a serial entrepreneur, a professional blogger and internet marketer. He has a great passion in blogging and SEO.

Rajesh has written 155 awesome articles for us at BloggingTips.

  • Find Rajesh On
❮
WordPress Framework
What is a WordPress Theme Framework?
❯
WordPress Captcha Plugins
5 Useful WordPress CAPTCHA Plugins

 Comment Policy

Your words are your own, so be nice and helpful if you can. Please, only use your REAL NAME, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please. You can wrap code in [lang-name][/lang-name] tags.


Tell us what you're thinking... Cancel reply

If you want a picture to show with your comment, then get Gravatar!

Popular Articles

  • ☛ 11 Top Ways to Increase AdSense CPC
  • ☛ How to Increase Blog Traffic: The Complete Blog Traffic Guide
  • ☛ Cheap WordPress Hosting Options for Bloggers
  • ☛ Affiliate Marketing Vs. AdSense: Which is More Profitable?
  • ☛ WordPress SEO: Complete Guide to SEO for WordPress Blogs
  • ☛ How to Speed Up WordPress Site: Complete Guide
  • ☛ How to Monetize a Blog: Monetizing a Blog for Profit

Best Blogging Tools

• SEMrush
• Grammarly

Trending Topics

  • Blogging 84
  • SEO 25
  • Web Hosting 24
  • WordPress 33

Hot Deals

Namecheap Coupon

Namecheap Coupon

Special pricing on one-year registrations and transfers/registrations of popular TLDs (.com/.biz/.net/.org/.info). View Coupon →
JustHost Coupon

JustHost Coupon

JustHost Web Hosting for $2.95/month Plus Free Domain Name. View Coupon →
  • © Copyright 2016-2021 BloggingTips. Some Rights Reserved.
  • About
  • Contact Us
  • TechLila
  • BloggingTips is built on WordPress
  • Custom Theme Using Genesis Framework
  • Cloud hosting by Cloudways