Where is my WordPress configuration file/wp-config.php and how can I edit it?

The configuration file of your WordPress script is located in the WordPress installation directory and its name is: wp-config.php.

You can edit it through cPanel --> File Manager. Find the file, click on it and from the top menu choose "Edit".

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!


  1. Reply October 26, 2016 / 00:39 Stacie F BenefieldSiteGround Team

    Where is the cPanel!?

    • Reply October 27, 2016 / 08:41 Ivan StefanovSiteGround Team

      Stacie, you can access your cPanel from User Area -> My Accounts -> Login to cPanel button or directly by typing your domain.name/cpanel or domain.name:2083, where you should replace "domain.name" with your actual domain name, which should be pointed to SiteGround services, too.

* (Required)