What does DISALLOW_FILE_EDIT do?
DISALLOW_FILE_EDIT disables the built-in WordPress file editor. This prevents plugin and theme files from being edited directly through the WordPress Dashboard.
For security reasons, we recommend enabling this setting. It prevents files from being modified through the WordPress file editor, for example if an unauthorized user gains access to your WordPress Dashboard.
đĄ You don't need to edit the wp-config.php file yourself
You can enable Disallow File Edit directly from your Raidboxes Dashboard.
Enabling the setting is equivalent to adding the following entry to your wp-config.php file:
define( 'DISALLOW_FILE_EDIT', true );
How do I enable DISALLOW_FILE_EDIT?
You can enable Disallow File Edit directly in your Box settings:
Open your Box in the Raidboxes Dashboard.
Go to Settings.
Under Security, select Disallow File Edit.
Set the option to ON.
â
Once Disallow File Edit is enabled, plugin and theme files can no longer be edited through the built-in file editor in the WordPress Dashboard.
â ď¸ Check your website after enabling the setting
Some plugins may have limited functionality when this setting is enabled. After enabling it, check that your website and plugins continue to work as expected.
How do I disable DISALLOW_FILE_EDIT?
If you no longer want to use Disallow File Edit, you can disable the setting at any time:
Open your Box in the Raidboxes Dashboard.
Go to Settings > Security.
Open Disallow File Edit.
Set the option to OFF.
â
Disallow File Edit is now disabled for your Box.


