Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<?php
defined ( 'ABSPATH') or die ( 'Cheatin & # 8217;? uh');
/ **
* Plugin Name: WP Rocket | Remove ETag from htaccess
* Description: Prevents ETag code to be added to htaccess.
* Author: WP Rocket Support Team
* Author URI: http://wp-rocket.me/
* License: GNU General Public License v3 or later
* License URI: http://www.gnu.org/licenses/gpl-3.0 .html
* /
add_filter ( 'rocket_htaccess_etag', '__return_false');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment