WordPress.org

Ready to get started?Download WordPress

Forums

Embedded site only works if you use www. (2 posts)

  1. swarfworks
    Member
    Posted 6 years ago #

    Hello,

    I have my wordpress intergrated (embedded) into my site. It works great when you go to my site at http://www.swarfworks.com but not if you just type in http://swarfworks.com

    If I change the settings in OPTIONS -> GENERAL OPTIONS (under the "Blog address (URL):" field to not include the www, it works just the opposite.

    Is there anyway that I can have it work either way?

    This is the error that I get (when I don't type www.):

    Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/gtpsrock/swarfworks.com/index.php:10) in /hsphere/local/home/gtpsrock/swarfworks.com/wp-includes/pluggable.php on line 390

    Thanks,
    Paul

  2. whistler2020
    Member
    Posted 6 years ago #

    in pluggable.php make sure there are no extra characters outside of the files

    <?php ?>

    at the top and bottom of the file

Topic Closed

This topic has been closed to new replies.

About this Topic