Title: Warning: Cannot modify header information
Last modified: August 21, 2016

---

# Warning: Cannot modify header information

 *  [MeowAttack](https://wordpress.org/support/users/meowattack/)
 * (@meowattack)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-118/)
 * In Chrome if I type in thenameofmysite.com it loads properly. But then if I put
   in [http://www.thenameofmysite.com](http://www.thenameofmysite.com) it states:
   Warning: Cannot modify header information – headers already sent by [locations
   on my server] on line 875 in pluggable.php
 * I’m also confused as to why Firefox adds www. to the front of my domain but chrome
   is not?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [MeowAttack](https://wordpress.org/support/users/meowattack/)
 * (@meowattack)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-118/#post-4154986)
 * This function in pluggable is:
 *     ```
       function wp_redirect($location, $status = 302) {
       	global $is_IIS;
   
       	$location = apply_filters('wp_redirect', $location, $status);
       	$status = apply_filters('wp_redirect_status', $status, $location);
   
       	if ( !$location ) // allows the wp_redirect filter to cancel a redirect
       		return false;
   
       	$location = wp_sanitize_redirect($location);
   
       	if ( !$is_IIS && php_sapi_name() != 'cgi-fcgi' )
       		status_header($status); // This causes problems on IIS and some FastCGI setups
   
       	header("Location: $location", true, $status);
       }
       ```
   
 * _[Moderator Note: Please post code & markup between backticks or use the code
   button. Your posted code may now have been permanently damaged by the forum’s
   parser.]_
 * I’m thinking this error has something to do with how I have my wordpress install
   and .htaccess setup….
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-118/#post-4155042)
 * See:
 * [http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F](http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Warning: Cannot modify header information’ is closed to new replies.

## Tags

 * [chrome](https://wordpress.org/support/topic-tag/chrome/)
 * [headers](https://wordpress.org/support/topic-tag/headers/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-118/#post-4155042)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
