# SGS XMLRPC Disable Service order deny,allow deny from all # SGS XMLRPC Disable Service END # BEGIN LSCACHE ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## RewriteEngine on RewriteRule litespeed/debug/.*\.log$ - [F,L] RewriteRule \.litespeed_conf\.dat - [F,L] CacheLookup on RewriteRule .* - [E=Cache-Control:no-autoflush] ### marker ASYNC start ### RewriteCond %{REQUEST_URI} /wp-admin/admin-ajax\.php RewriteCond %{QUERY_STRING} action=async_litespeed RewriteRule .* - [E=noabort:1] ### marker ASYNC end ### ### marker WEBP start ### RewriteCond %{HTTP_ACCEPT} image/webp [OR] RewriteCond %{HTTP_USER_AGENT} iPhone\ OS\ (1[4-9]|[2-9][0-9]) [OR] RewriteCond %{HTTP_USER_AGENT} Macintosh.*Version/((1[7-9]|[2-9][0-9])|16\.([4-9]|[1-9][0-9])) [OR] RewriteCond %{HTTP_USER_AGENT} Firefox/([6-9][0-9]|[1-9][0-9]{2,}) RewriteRule .* - [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+webp] ### marker WEBP end ### ### marker DROPQS start ### CacheKeyModify -qs:fbclid CacheKeyModify -qs:gclid CacheKeyModify -qs:utm* CacheKeyModify -qs:_ga ### marker DROPQS end ### ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## # END LSCACHE # BEGIN NON_LSCACHE ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## # END NON_LSCACHE RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{HTTPS} =off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [QSA,L] # REMOVE LANGUAGE PREFIX FROM MEDIA URL RewriteRule ^([a-z]{2})/wp-content/uploads/(.*)$ /wp-content/uploads/$2 [L] # MEDIA FALLBACK FOR OLD MULTISITE FILES RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} ^/wp-content/uploads/(.*)$ RewriteCond %{DOCUMENT_ROOT}/wp-content/uploads/sites/8/%1 -f RewriteRule ^wp-content/uploads/(.*)$ /wp-content/uploads/sites/8/$1 [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L] # # Header set Cache-Control "max-age=2592000, must-revalidate" # #Header set X-Frame-Options DENY # SGO Unset Vary Header unset Vary # SGO Unset Vary END