wp-config.php Sample File

This is a sample wp-config.php file which is included when you download WordPress manually or install WordPress using a software script.

Your wp-config.php file will be automatically edited with your new database access details when you install WordPress automatically using a one click installation script in cPanel provided by the best web hosts.

If you are installing WordPress manually, you’ll need to edit the wp-config.php sample file manually.

Most of the time you will only need to edit the following access details in Bold including:

  1. Database Name – Database Name used by WordPress
  2. Database Username – Username used to access Database
  3. Database Password – Password used by Username to access Database
  4. Database Host – The hostname of your Database Server

You’ll create these details when you create a database using the MYSQL Database Wizard in the databases section in your cPanel web hosting account.


Comments

2 responses to “wp-config.php Sample File”

  1. Hi, can I open the wp-config.php file from the DASHBOARD? I ask because I opened the editor, and saw many files, but not the wp-config file. Thanks for your consideration.

    1. Brad Dalton Avatar
      Brad Dalton

      no. you’ll need ftp. why do u need to access it?

Leave a Reply

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.