WordPress glossary

wp-config.php

The core WordPress config file holding database credentials, security keys, and tuning constants.

Last updated ยท Reviewed by Ali Hassan

wp-config.php sits at the WordPress root. It defines the database connection, salts, debug flags, memory limits, and many tuning options. It should never be world readable. A leaked wp-config exposes the entire site.

Need this fixed, not just defined?

We have shipped hundreds of fixes for exactly this kind of issue. Book a 20 minute call and we will tell you straight whether it is a quick fix or a bigger root cause.

Call Book a call