How to Disable File Editing in Wordpress?

Short tutorial on How to Disable File Editing in Wordpress?

Disable File Editing

In this short tutorial we will discuss on how to disable file editing in wordpress. Follow the steps give below to disable file editing in a wordpress for performance and security optimization.

It is recommended to disable file editing within the WordPress dashboard for your security and performance purpose.

Append the following two lines to the end of your wp-config file to disable file editing from the dashboard.
## Disable Editing in Dashboard

define(DISALLOW_FILE_EDIT, true);


Related Topics