Support » Fixing WordPress » “Cannot modify header” only when www is omitted

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter cfscare

    (@cfscare)

    Sorry, I’ve figured it out.

    I had uninstalled Super Cache but left this line in wp-config.php:

    define( ‘WP_CACHE’, true )

    I removed that and all seems fine now.

    Thanks anyway!

    Thread Starter cfscare

    (@cfscare)

    No, I’m wrong. I’m very confused now. Is

    define( ‘WP_CACHE’, true );

    part of a standard WordPress install or isn’t it? Super Cache says to remove it when uninstalling, but Hyper Cache complains if it’s not there.

    When that line is present, only http://www.domain.com resolves; domain.com stops working. How can I fix this? Thanks.

    Thread Starter cfscare

    (@cfscare)

    I’ve worked it out. Evidently Hyper Cache was caching a version of wp-config.php that had a stray line. Clearing the cache seems to have fixed it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘“Cannot modify header” only when www is omitted’ is closed to new replies.