Where is my WordPress configuration file?

WordPress stores your database information in a file called wp-config.php.

This configuration file is usually located in the document root directory of your domain name.

For example, if you have installed WordPress on your primary domain the wp-config.php file will be located in the public_html directory of your hosting account.

You can view and edit the file using File Manager in cPanel or via FTP.

You find this article useful? Click here to learn more about SiteGround web hosting experts and what else we can do for you!