Title: Cache Warning: Cannot modify header information
Last modified: August 22, 2016

---

# Cache Warning: Cannot modify header information

 *  Resolved [bulewold](https://wordpress.org/support/users/bulewold/)
 * (@bulewold)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/cache-warning-cannot-modify-header-information/)
 * Great plugin!!! I started using this plugin recently after an attack and it seems
   like it’s doing well in finding changed files and etc.
 * I started play with Cache function yesterday and on one site, it worked fine 
   but one the other, it gave me error like below…..
 * ‘Warning: Cannot modify header information …………….’
 * Any idea?
    When I changed to cache option, it did give me a message that it was
   not able to modify .htaccess file. Does it have anything to do with it?
 * Thank you for your help!
 * [https://wordpress.org/plugins/wordfence/](https://wordpress.org/plugins/wordfence/)

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

 *  [WFBrian](https://wordpress.org/support/users/wfbrian/)
 * (@wfbrian)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/cache-warning-cannot-modify-header-information/#post-5697796)
 * Hello,
 * On the first issue, do you have the latest version of PHP installed? Are you 
   running any other plugins and are they up-to-date? Are you running the latest
   versions of WordPress and Wordfence?
 * The second issue is your web server does not have permissions to edit .htaccess.
   If you can, you’ll need to change the permissions.
 * Thanks,
    Brian
 *  Thread Starter [bulewold](https://wordpress.org/support/users/bulewold/)
 * (@bulewold)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/cache-warning-cannot-modify-header-information/#post-5697903)
 * Thank you. I think I figured it out. BPS recommends changing wp-header permission
   and I believe error message from your cache was pointing to that file.
 * Once I make changes and reset whole performace by turning off and on, error message
   disappears. 🙂
    I’ll report back if it comes back.

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

The topic ‘Cache Warning: Cannot modify header information’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [bulewold](https://wordpress.org/support/users/bulewold/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/cache-warning-cannot-modify-header-information/#post-5697903)
 * Status: resolved