"Cannot modify header information" www, and no www
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:
works fine, whereas this link:
spits out that error.
Any idea how to fix this? It’s driving me batty. Thanks!
- The topic ‘"Cannot modify header information" www, and no www’ is closed to new replies.