Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. # BEGIN WpFastestCache
  2. <IfModule mod_rewrite.c>
  3. RewriteEngine On
  4. RewriteBase /
  5. RewriteCond %{HTTPS} =on
  6. RewriteCond %{HTTP_HOST} ^www.boralbranders.com
  7. # Start WPFC Exclude
  8. # End WPFC Exclude
  9. RewriteCond %{HTTP_HOST} ^www.boralbranders.com
  10. RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WhatsApp|Mediatoolkitbot)
  11. RewriteCond %{REQUEST_METHOD} !POST
  12. RewriteCond %{REQUEST_URI} !(/){2}$
  13. RewriteCond %{REQUEST_URI} /$
  14. RewriteCond %{QUERY_STRING} !.+
  15. RewriteCond %{HTTP:Cookie} !wordpress_logged_in
  16. RewriteCond %{HTTP:Cookie} !comment_author_
  17. RewriteCond %{HTTP:Cookie} !wp_woocommerce_session
  18. RewriteCond %{HTTP:Cookie} !safirmobilswitcher=mobil
  19. RewriteCond %{HTTP:Profile} !^[a-z0-9"]+ [NC]
  20. RewriteCond %{HTTP_USER_AGENT} !^.*(bCrMob|CriOS|Android.*Chrome/[.0
  21. 9]*s(Mobile)
  22. |bDolfinb|Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+|Coast/[0-9.]+|Skyfire|MobilesSafari/[.0-9]*sEdge|IEMobile|MSIEMobile|fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS|bolt|teashark|Blazer|Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari|Tizen|UC.*Browser|UCWEB|baiduboxapp|baidubrowser|DiigoBrowser|Puffin|bMercuryb|Obigo|NF-Browser|NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger|Android.*PaleMoon|Mobile.*PaleMoon|Android|blackberry|bBB10b|rimstabletsos|PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino|Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|bS60b|WindowssCE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|WindowsMobile|WindowssPhones[0-9.]+|WCE;|WindowssPhones10.0|WindowssPhones8.1|WindowssPhones8.0|WindowssPhonesOS|XBLWP7|ZuneWP7|WindowssNTs6.[23];sARM;|biPhone.*Mobile|biPod|biPad|Apple-iPhone7C2|MeeGo|Maemo|J2ME/|bMIDPb|bCLDCb|webOS|hpwOS|bBadab|BREW).*$ [NC]
  23. RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or]
  24. RewriteCond /home/boralbra/public_html/wp-content/cache/all/$1/index.html -f
  25. RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L]
  26. </IfModule>
  27. <FilesMatch "index.(html|htm)$">
  28. AddDefaultCharset UTF-8
  29. <ifModule mod_headers.c>
  30. FileETag None
  31. Header unset ETag
  32. Header set Cache-Control "max-age=84600, public"
  33. Header set Pragma "no-cache"
  34. Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT"
  35. </ifModule>
  36. <IfModule mod_rewrite.c>
  37. RewriteEngine On
  38. RewriteBase /
  39. RewriteRule ^index.php$ - [L]
  40. RewriteCond %{REQUEST_FILENAME} !-f
  41. RewriteCond %{REQUEST_FILENAME} !-d
  42. RewriteRule . /index.php [L]
  43. </IfModule>
  44. # END WordPress
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement