• I have my blog hosted on my site. In the Settings area I have Blog address (URL) set to https://www.address.com but if I type in https://address.com i get the “Warning: Cannot modify header information – headers already sent by (output started at /home/freshind/public_html/index.php:14) in /home/freshind/public_html/words/wp-includes/pluggable.php on line 770”

    Is there a way to solve this?

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

    (@prhime)

    I tried that previously. This is the code from index.php. Line 14 has no space before or after it.

    ‘<?php
    /**
    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define(‘WP_USE_THEMES’, true);
    /** Loads the WordPress Environment and Template */
    require(‘./words//wp-blog-header.php’);
    ?>’

    Thread Starter prhime

    (@prhime)

    seems the commented text at the start of the index file caused the error.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using https://www.address.com vs https://address.com Doesn’t Work’ is closed to new replies.