Title: [Plugin: Hyper Cache] Cannot modify header information
Last modified: August 19, 2016

---

# [Plugin: Hyper Cache] Cannot modify header information

 *  Resolved [cfscare](https://wordpress.org/support/users/cfscare/)
 * (@cfscare)
 * [16 years ago](https://wordpress.org/support/topic/plugin-hyper-cache-cannot-modify-header-information/)
 * I’m very impressed with this plugin, but I’ve hit a problem. When the line
 * define( ‘WP_CACHE’, true );
 * is in my wp-config.php file, then my site works only with this URL:
 * [http://www.domain.com](http://www.domain.com)
 * If I try to use
 * domain.com
 * then I get this error:
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/username/public_html/wordpress/wp-config.php:3) in /home/username/public_html/
   wordpress/wp-includes/pluggable.php on line 868
 * If I remove define( ‘WP_CACHE’, true ); from wp-config.php, then both URLs work
   but the dashboard complains that the caching system isn’t activated.
 * How can I use caching but permit both URLs to work? I’m certain that there are
   no stray spaces in wp-config.php. Thanks.
 * [http://wordpress.org/extend/plugins/hyper-cache/](http://wordpress.org/extend/plugins/hyper-cache/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [cfscare](https://wordpress.org/support/users/cfscare/)
 * (@cfscare)
 * [16 years ago](https://wordpress.org/support/topic/plugin-hyper-cache-cannot-modify-header-information/#post-1516634)
 * Wait, I think I’ve figured it out. Apparently Hyper Cache was caching a bad version
   of wp-config.php. I cleared the cache and everything works fine now.
 * This is an amazing plugin, by the way. My site used to founder constantly under
   traffic spikes, and it’s been perfectly smooth since I’ve installed this. Many
   thanks for writing it.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Hyper Cache] Cannot modify header information’ is closed to 
new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [cfscare](https://wordpress.org/support/users/cfscare/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/plugin-hyper-cache-cannot-modify-header-information/#post-1516634)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
