New answers tagged

8

Your mime types don't match your ExpireByType directives: $ curl --head https://milyin.com/wp-content/uploads/omgf/neve-google-font-poppins/poppins-normal-700.woff2 ... expires: Thu, 09 Sep 2021 13:24:15 GMT ... content-type: font/woff2 So you should change your .htaccess. Instead of, or in addition to ExpiresByType application/font-woff2 "access ...


6

ExpiresDefault "access plus 2 days" ExpiresByType application/vnd.ms-fontobject "access plus 1 year" ExpiresByType application/x-font-ttf "access plus 1 year" ExpiresByType application/x-font-opentype "access plus 1 year" ExpiresByType application/x-font-woff "access plus 1 year" ExpiresByType application/...


1

RewriteRule ^home-living/furniture/([^/\.]+)\.html http://www.example.com/home-living/furniture/filter/cat/$1.h‌​tml [R=301,L] This directive preserves the entire query string from the original request. It does not remove it, or any part of it. The query string is preserved by default with RewriteRule (and Redirect and RedirectMatch) directives. Only when ...


Top 50 recent answers are included