Zlib Compression Screwed Up Path to Files in WordPress Multisite

I’m running a multisite network on WordPress 3.6 with the W3 Super Cache plugin for performance. I’m on a virtual dedicated server, but the WordPress dashboard started loading so painfully slow, it was excruciating.

So I did a quick search and found this “handy” tip on WPMU. The author suggested that using zlib compression would speed up my load times x3. So I took the advice and pasted this snippet in the header of my theme:

Read More
<?php 
    ini_set(’zlib.output_compression’, ‘On’);
    ini_set(’zlib.output_compression_level’, ‘1′);
?>

Instead of “instantly seeing a huge performance improvement,” it screwed up something with the blogs.dir and now all uploads and media are broken links. I removed the above PHP snippet, but the links are still dead. I looked in .htaccess and wp-config and didn’t see anything input from zlib.

Can anyone help me find a solution to this problem?

Related posts

Leave a Reply

1 comment

  1. Try clearing the W3 Super Cache files, you may be looking at an outdated cached copy. I am not familiar with that plugin, I use W3TC, but there should be some sort of “clear cache” option. Otherwise, deactivate it, and see what happens.

    You could also try going to permalink settings, and saving them – that will rewrite your .htaccess file for you – unless your caching plugin is interfering.