How To Edit wp-config For WordPress Installation

WordPress wp-config.php

Editing the wp-config file is perhaps the most vital step in the manual installation of WordPress. This file can make or break your WordPress website so be very careful when editing it.

How to edit wp-config for WordPress installation

  1. Extract the WordPress Installation ZIP.
  2. In the wordpress folder, there will be a file named wp-config-sample. Rename it to wp-config.
  3. Open wp-config using Microsoft Word or right-click and Open With – WordPad.
  4. I hope you have your MySQL database details because this is where they come in handy.
  5. Scroll down a bit and enter your MySQL database name in the place of database_name_here.
  6. Enter your MySQL database username instead of username_here.
  7. Enter your MySQL database password instead of password_here.
  8. Enter your MySQL database host instead of localhost.

Now, save and exit. Congratulations! You have successfully edited your wp-config for installing WordPress.

This tutorial is somewhat difficult so if you face any problems then do comment below and I will solve them to the best of my abilities.