Knowledge Base
MilesWeb / WordPress FAQ

Where is my WordPress configuration file is stored?

Approx. read time : 2 min

WordPress is responsible to store your database information in a file that is known as wp-config.php.

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

For example, if you install WordPress on your primary domain then the wp-config.php file gets located in the public_html directory of your hosting account.

It allows you to view and edit the file using File Manager in cPanel or using FTP.

Also Read :

1) How to determine the WordPress version.

2) How to build a WordPress website using the server URL of my account. 

Sonam Wagh
With an interest in doing something creative daily, Sonam works as a Digital Marketing Executive. She likes to write technical blogs related to web hosting, digital marketing, and other IT topics. She also likes to spend her leisure time on social media to find different strategies for client engagement.