WordPress.org

Ready to get started?Download WordPress

Forums

"Cannot modify header information" www, and no www (1 post)

  1. Skrotfooey
    Member
    Posted 2 years ago #

    Hi! I'm having a bit of a nightmare trying to work out how to do something that I hope I can do with WordPress.

    I've embedded my blog into a website, by sticking

    <?php
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>

    in a div.

    I realized that when I don't use www I get an error:

    Warning: Cannot modify header information - headers already sent by (output started at /home/dudley/public_html/news/index.php:8) in /home/dudley/public_html/news/wp-includes/pluggable.php on line 934

    I've searched around for how to fix this error, and the most common solution doesn't apply (eliminated white space). The situation here is that this link:
    http://www.votecosta.com/news
    works fine, whereas this link:
    votecosta.com/news
    spits out that error.

    Any idea how to fix this? It's driving me batty. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic