Skip to content

WP Config Editor

WP Config Editor

Debugging a WordPress issue or adjusting update settings usually means connecting to your server over SSH (Secure Shell — a command-line tool for accessing remote servers) and manually editing a sensitive PHP file. The WP Config Editor removes that friction entirely — you get a clean dashboard interface to read and update your site’s core configuration without touching the command line.

WP Config Editor in FlyWP

This is particularly useful when you need to turn on debug logging to investigate an error, or when you want to control how WordPress handles automatic updates on a production site.

FlyWP connects to your server via SSH, parses the wp-config.php file using a dedicated PHP parser (a tool that reads PHP code and understands its structure), and writes validated changes back — so you never risk accidentally corrupting the file with a typo.

How It Works

Here is what happens behind the scenes when you make a change:

  1. FlyWP connects to your server via SSH and reads wp-config.php.
  2. The file is parsed to extract PHP constants (fixed configuration values your site reads at startup) and the table prefix.
  3. You edit values through a clean form interface.
  4. FlyWP validates changes with the WPConfigTransformer before writing anything back to the server.
  5. The current configuration is cached in FlyWP for quick access next time you visit.

Available Constants

The editor exposes the most commonly needed WordPress constants. A constant is a named value set once in wp-config.php that WordPress reads every time a page loads — think of it as a global on/off switch for a feature.

ConstantValuesPurpose
WP_DEBUGtrue / falseEnable or disable WordPress debug mode
WP_DEBUG_LOGtrue / falseWrite debug messages to wp-content/debug.log
WP_DEBUG_DISPLAYtrue / falseShow debug errors on screen (not recommended in production)
SCRIPT_DEBUGtrue / falseUse unminified core JS and CSS files
CONCATENATE_SCRIPTStrue / falseCombine admin scripts into fewer HTTP requests
SAVEQUERIEStrue / falseStore database queries in memory for debugging
WP_AUTO_UPDATE_COREtrue / minor / falseControl automatic WordPress core updates

Editing a Constant

  1. Navigate to Sites and open the site you want to configure.
  2. Click the WP Config tab.
  3. Toggle a constant on or off, or select the desired value from the dropdown.
  4. Click Save Changes.

FlyWP pushes the update to your server immediately. The page refreshes to confirm the new values.

Enabling WP_DEBUG_DISPLAY on a production site exposes error details to visitors. Use WP_DEBUG_LOG instead to write errors to a log file that only you can access.

Table Prefix

The editor also displays your WordPress table prefix (the $table_prefix variable, commonly wp_). This prefix is added to the front of every WordPress database table name — for example, wp_posts or wp_options. Knowing your prefix is handy when you need to query the database directly.

Auto-Update Behavior

The WP_AUTO_UPDATE_CORE constant controls how WordPress handles core updates:

ValueBehavior
trueAutomatically install all core updates (major and minor)
minorOnly install minor and security releases automatically
falseDisable all automatic core updates

Troubleshooting

  • Changes not taking effect — Clear any page cache (a saved copy of your pages served to speed up load times) or object cache after updating config values. Some caching layers serve stale responses until cleared.
  • Editor shows stale values — Click the refresh button to re-read the file from the server over SSH.
  • Validation error — FlyWP validates all changes before writing. If a value is rejected, check that you are using a supported value for that constant.