Skip to content

Instantly share code, notes, and snippets.

@markonikolic985
Created December 16, 2016 16:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markonikolic985/44361daa0818e9fc6ad85620113a9d41 to your computer and use it in GitHub Desktop.
Save markonikolic985/44361daa0818e9fc6ad85620113a9d41 to your computer and use it in GitHub Desktop.
<?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