Title: Plugin Wordfence alert
Last modified: August 4, 2023

---

# Plugin Wordfence alert

 *  [Verca Schmid](https://wordpress.org/support/users/verca1/)
 * (@verca1)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordfence-alert/)
 * Hallo everybody, please help…. Wordfence alerted me to the risk “Found a publicly
   accessible configuration, backup or log file: wp-content/debug.log
   Can you please
   advise me what to do about this? Should I close the debug? And where? I am not
   very experienced in this.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-wordfence-alert%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Gerry](https://wordpress.org/support/users/metamezzo/)
 * (@metamezzo)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordfence-alert/#post-16947574)
 * Hello, that file `wp-content/debug.log` is created if WordPress debugging is 
   enabled. Wordfence should show a _Hide File_ button in the results notification
   for this file. You can click that button and that should help resolve the issue.
 * The longer term solution would be to turn off debugging if it is no longer needed.
   You would need FTP to access your website files and look for the `wp-config.php`
   file in the folder where your WordPress website is installed (this folder is 
   usually `public_html`). Please download a copy of `wp-config.php` as a backup,
   then edit the file by looking for:
 *     ```wp-block-code
       define( 'WP_DEBUG', true );
       ```
   
 * Please change the line above to the following to turn off debugging:
 *     ```wp-block-code
       define( 'WP_DEBUG', false );
       ```
   
 * Please check with your web host support if you need help accessing, making a 
   backup of or making amendments to the `wp-config.php` file.
 * For any future Wordfence queries, please post on the plugin support forum via
   this link – [https://wordpress.org/support/plugin/wordfence/](https://wordpress.org/support/plugin/wordfence/)
 * Good luck!
 *  Thread Starter [Verca Schmid](https://wordpress.org/support/users/verca1/)
 * (@verca1)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordfence-alert/#post-16947655)
 * Good. Thank you very much for your advice. Good luck for you 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin Wordfence alert’ is closed to new replies.

## Tags

 * [alert](https://wordpress.org/support/topic-tag/alert/)
 * [plugin](https://wordpress.org/support/topic-tag/plugin/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 2 replies
 * 2 participants
 * Last reply from: [Verca Schmid](https://wordpress.org/support/users/verca1/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordfence-alert/#post-16947655)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
