Created
December 16, 2016 16:37
-
-
Save markonikolic985/44361daa0818e9fc6ad85620113a9d41 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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