wp-config missing

Avatar
  • updated
  • Answered

Hi,

In my File manager there is not wp-config file available so how my site is connected to SQL database wanted to know that

Pinned replies
Avatar
anonymous
  • Answer
  • Answered

Hello! If you have a WordPress site, and the wp-config.php is not visible, it may not be located where you expect. In the File Manager, please check the public_html directory if the site is for your primary domain, or the appropriate other site directory if the site is an addon domain. If the site is not a WordPress site, then it would not use a wp-config.php and will be connecting to the database in another way, depending on what kind of site you have. Hope that helps!

Avatar
anonymous
  • Answer
  • Answered

Hello! If you have a WordPress site, and the wp-config.php is not visible, it may not be located where you expect. In the File Manager, please check the public_html directory if the site is for your primary domain, or the appropriate other site directory if the site is an addon domain. If the site is not a WordPress site, then it would not use a wp-config.php and will be connecting to the database in another way, depending on what kind of site you have. Hope that helps!