WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Site don't work with www

[Resolved] Site don't work with www

  • Hi,

    I had some problems with “jquery-1.6.3.min.js” which has now resolved. While attempting to solve this I tried a suggestion I saw here in the forum to change the general options the address of the site and removed the “www.” (http://www.site with) after that the site crashed. Only works if you use the address http://site.com.
    It appears the error “Warning: Can not modify header information – headers already sent by” and already checked the question of the blanks before and after the php tags.
    Since then I can not access wp-admin to reset this setting.
    Does anyone have any suggestions that might help please?

Viewing 4 replies - 1 through 4 (of 4 total)
  • SOLVED!

    Solution:
    1º Edit wp-config.php
    2º Add this 2 variable:

    define(‘WP_SITEURL’, ‘http://www.site.com’);
    define(‘WP_HOME’, ‘http://www.site.com’);

    The initial problem is solved, but now, every time i try to change a page (and it calls “wp-admin/post.php”) i get the same error:

    Warning: Cannot modify header information – headers already sent by (output started at /home/site/public_html/v2/wp-content/themes/feast/functions.php:1) in /home/site/public_html/v2/wp-includes/pluggable.php on line 880

    The first thing that i’ve done was “re-checking” again the white spaces (<?php ?>) but everything is OK.

    Suggestions?

    RESOLVED!

    Solution:
    1º Download a HEX EDITOR SOFTWARE
    2º Open “functions.php” with Hex Editor
    3º Delete “invisible characters” before <?php

    NOTE: Opening functions.php with Notepad or Dreamweaver doesn’t show any of this “invisible characters”.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Site don't work with www’ is closed to new replies.
Skip to toolbar