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.

If you want a lightning-fast WordPress website, check out our free eBook WordPress Speed Optimization Ebook! In it you will find a variety of easy-to-follow tips to improve the speed of your site!