WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Site don't work with www (5 posts)

  1. Zzzooommm
    Member
    Posted 2 years ago #

    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?

  2. Zzzooommm
    Member
    Posted 2 years ago #

    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');

  3. fonglh
    Member
    Posted 2 years ago #

  4. Zzzooommm
    Member
    Posted 2 years ago #

    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?

  5. Zzzooommm
    Member
    Posted 2 years ago #

    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".

Topic Closed

This topic has been closed to new replies.

About this Topic