Title: ob_gzhandler errors :(
Last modified: August 18, 2016

---

# ob_gzhandler errors :(

 *  [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/ob_gzhandler-errors/)
 * `Warning: ob_start(): output handler 'ob_gzhandler' cannot be used after 'URL-
   Rewriter' in /functions.php on line 585
 * I get this after I enabled compression under Options
 * I checked functions.php and line 585 is `ob_start('ob_gzhandler');`
 * There are no extra spaces before or after the php tags in functions.php
    How 
   do I solve this?

Viewing 1 replies (of 1 total)

 *  Thread Starter [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/ob_gzhandler-errors/#post-267192)
 * Solved it.
 * Followed [this post](http://weblogtoolscollection.com/archives/2004/07/31/gzip-compression-issue-in-wordpress-12-mingus/)
 * However instead of .htaccess you may need to put it in php.ini depending on your
   host config. My host requires php.ini

Viewing 1 replies (of 1 total)

The topic ‘ob_gzhandler errors :(’ is closed to new replies.

## Tags

 * [compression](https://wordpress.org/support/topic-tag/compression/)
 * [gzip](https://wordpress.org/support/topic-tag/gzip/)
 * [ob_gzhandler](https://wordpress.org/support/topic-tag/ob_gzhandler/)
 * [output](https://wordpress.org/support/topic-tag/output/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Ajay](https://wordpress.org/support/users/ajay/)
 * Last activity: [20 years, 6 months ago](https://wordpress.org/support/topic/ob_gzhandler-errors/#post-267192)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
