How To Enable The WordPress Theme And Plugin Editor?

Some web hosting disable the WordPress theme and plugin editor for security reasons. If you want to activate that functionality, you need to make some minor changes to your wp-config.php file:

  1. Log in to your webspace via SFTP and go to your WordPress website
  2. Open the folder where your WordPress installation resides
  3. Open the file wp-config.php on your computer with a text editor
  4. Search for this entry:
define('DISALLOW_FILE_EDIT', true);
  1. Change ‘true’ to ‘false’:
define('DISALLOW_FILE_EDIT', false);
  1. Save the file and upload it again
  2. The Theme Editor is now available under Appearance > Theme Editor. And the Plugin Editor under Plugins > Plugin Editor.

Updated on March 28, 2021

Can't find what you're looking for?
How Can We Help?

Help Request Sent Successfully

OK, we'll get you an answer back shortly.