• Resolved cfscare

    (@cfscare)


    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

    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/

Viewing 1 replies (of 1 total)
  • Thread Starter cfscare

    (@cfscare)

    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.