Skip to main content

Editing wp-config.php

Use your Box settings to add custom wp-config.php entries.

Written by Jan Hornung

At Raidboxes, the wp-config.php file is read-only to help protect your WordPress site and cannot be edited directly.

However, you can still add custom configuration entries to your wp-config.php using your Box settings.

💡Please note:

This feature only adds custom entries to your wp-config.php.

Existing entries cannot be modified.


Some WordPress configuration options, such as Disallow


Adding custom entries

1️⃣ Within your Box, click on Settings

2️⃣Open the WordPress section in the left-hand menu

3️⃣ Select wp-config.php

4️⃣ Enter the wp-config.php entry you want to add into the text field and click Save

🗑️Remove a custom entry?
If you no longer need a custom entry, you can delete it here at any time.


DISALLOW_FILE_EDIT

If you want to add define( 'DISALLOW_FILE_EDIT', true ); to your wp-config.php, you don't need to add it as a custom entry.
​

You can enable this directly in your Box under Settings > Security > Disallow File Edit.

This prevents plugin and theme files from being edited through the WordPress code editor.


📚 Related articles

Did this answer your question?