New 24/7 monitoring and daily cloud backups now included in every Shield Pro plan.

Help Centre

BugShield Knowledge Base

Guides, walkthroughs, and answers for getting the most out of your account.

The WordPress Configuration File

Updated 2 July 2026

wp-config.php sits in your WordPress root and defines database connection, security keys, and optional constants.

This article explains what `wp-config.php` controls and which settings should be handled carefully to avoid taking your site offline.

Important constants

  • DB_NAME, DB_USER, DB_PASSWORD, DB_HOST
  • WP_DEBUG enables debug mode (disable on production).
  • DISALLOW_FILE_EDIT blocks theme/plugin editor in admin.

Edit carefully. A syntax error in this file will take your site offline.