Advertisement
Osama_Mersal

Untitled

Jan 20th, 2025
7
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. # BEGIN LSCACHE
  2. ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
  3. <IfModule LiteSpeed>
  4. RewriteEngine on
  5. CacheLookup on
  6. RewriteRule .* - [E=Cache-Control:no-autoflush]
  7. RewriteRule litespeed/debug/.*\.log$ - [F,L]
  8. RewriteRule \.litespeed_conf\.dat - [F,L]
  9.  
  10. ### marker ASYNC start ###
  11. RewriteCond %{REQUEST_URI} /wp-admin/admin-ajax\.php
  12. RewriteCond %{QUERY_STRING} action=async_litespeed
  13. RewriteRule .* - [E=noabort:1]
  14. ### marker ASYNC end ###
  15.  
  16. ### marker CACHE RESOURCE start ###
  17. RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php - [E=cache-control:max-age=3600]
  18. ### marker CACHE RESOURCE end ###
  19.  
  20. ### marker DROPQS start ###
  21. CacheKeyModify -qs:fbclid
  22. CacheKeyModify -qs:gclid
  23. CacheKeyModify -qs:utm*
  24. CacheKeyModify -qs:_ga
  25. ### marker DROPQS end ###
  26.  
  27. </IfModule>
  28. ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
  29. # END LSCACHE
  30. # BEGIN NON_LSCACHE
  31. ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
  32. ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
  33. # END NON_LSCACHE
  34.  
  35. # BEGIN WordPress
  36. # The directives (lines) between "BEGIN WordPress" and "END WordPress" are
  37. # dynamically generated, and should only be modified via WordPress filters.
  38. # Any changes to the directives between these markers will be overwritten.
  39. <IfModule mod_rewrite.c>
  40. RewriteEngine On
  41. RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  42. RewriteBase /
  43. RewriteRule ^index\.php$ - [L]
  44. RewriteCond %{REQUEST_FILENAME} !-f
  45. RewriteCond %{REQUEST_FILENAME} !-d
  46. RewriteRule . /index.php [L]
  47. </IfModule>
  48.  
  49. # END WordPress
  50. # BEGIN LiteSpeed
  51. # The directives (lines) between "BEGIN LiteSpeed" and "END LiteSpeed" are
  52. # dynamically generated, and should only be modified via WordPress filters.
  53. # Any changes to the directives between these markers will be overwritten.
  54. <IfModule Litespeed>
  55. SetEnv noabort 1
  56. </IfModule>
  57. # END LiteSpeed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement