Advertisement
Guest User

Damteq-tailored

a guest
Oct 23rd, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.49 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.tailored-djs.com
  7. # Start WPFC Exclude
  8. # End WPFC Exclude
  9. # Start_WPFC_Exclude_Admin_Cookie
  10. RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=damteq|Mark
  11. # End_WPFC_Exclude_Admin_Cookie
  12. RewriteCond %{HTTP_HOST} ^www.tailored-djs.com
  13. RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|Twitterbot|LinkedInBot|WhatsApp|Mediatoolkitbot)
  14. RewriteCond %{HTTP_USER_AGENT} !(WP\sFastest\sCache\sPreload(\siPhone\sMobile)?\s*Bot)
  15. RewriteCond %{REQUEST_METHOD} !POST
  16. RewriteCond %{REQUEST_URI} !(\/){2}$
  17. RewriteCond %{REQUEST_URI} \/$
  18. RewriteCond %{QUERY_STRING} !.+
  19. RewriteCond %{HTTP:Cookie} !wordpress_logged_in
  20. RewriteCond %{HTTP:Cookie} !comment_author_
  21. RewriteCond %{HTTP:Cookie} !safirmobilswitcher=mobil
  22. RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
  23. RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or]
  24. RewriteCond /home/sites/6b/6/6a5b1f7e3c/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=0, no-cache, no-store, must-revalidate"
  33. Header set Pragma "no-cache"
  34. Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT"
  35. </ifModule>
  36. </FilesMatch>
  37. # END WpFastestCache
  38. # BEGIN GzipWpFastestCache
  39. <IfModule mod_deflate.c>
  40. AddType x-font/woff .woff
  41. AddType x-font/ttf .ttf
  42. AddOutputFilterByType DEFLATE image/svg+xml
  43. AddOutputFilterByType DEFLATE text/plain
  44. AddOutputFilterByType DEFLATE text/html
  45. AddOutputFilterByType DEFLATE text/xml
  46. AddOutputFilterByType DEFLATE text/css
  47. AddOutputFilterByType DEFLATE text/javascript
  48. AddOutputFilterByType DEFLATE application/xml
  49. AddOutputFilterByType DEFLATE application/xhtml+xml
  50. AddOutputFilterByType DEFLATE application/rss+xml
  51. AddOutputFilterByType DEFLATE application/javascript
  52. AddOutputFilterByType DEFLATE application/x-javascript
  53. AddOutputFilterByType DEFLATE application/x-font-ttf
  54. AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
  55. AddOutputFilterByType DEFLATE font/opentype font/ttf font/eot font/otf
  56. </IfModule>
  57. # END GzipWpFastestCache
  58. # BEGIN LBCWpFastestCache
  59. <FilesMatch "\.(webm|ogg|mp4|ico|pdf|flv|jpg|jpeg|png|gif|webp|js|css|swf|x-html|css|xml|js|woff|woff2|ttf|svg|eot)(\.gz)?$">
  60. <IfModule mod_expires.c>
  61. AddType application/font-woff2 .woff2
  62. ExpiresActive On
  63. ExpiresDefault A0
  64. ExpiresByType video/webm A10368000
  65. ExpiresByType video/ogg A10368000
  66. ExpiresByType video/mp4 A10368000
  67. ExpiresByType image/webp A10368000
  68. ExpiresByType image/gif A10368000
  69. ExpiresByType image/png A10368000
  70. ExpiresByType image/jpg A10368000
  71. ExpiresByType image/jpeg A10368000
  72. ExpiresByType image/ico A10368000
  73. ExpiresByType image/svg+xml A10368000
  74. ExpiresByType text/css A10368000
  75. ExpiresByType text/javascript A10368000
  76. ExpiresByType application/javascript A10368000
  77. ExpiresByType application/x-javascript A10368000
  78. ExpiresByType application/font-woff2 A10368000
  79. </IfModule>
  80. <IfModule mod_headers.c>
  81. Header set Expires "max-age=A10368000, public"
  82. Header unset ETag
  83. Header set Connection keep-alive
  84. FileETag None
  85. </IfModule>
  86. </FilesMatch>
  87. # END LBCWpFastestCache
  88. # BEGIN WordPress
  89. <IfModule mod_rewrite.c>
  90. RewriteEngine On
  91. RewriteBase /
  92. RewriteRule ^index\.php$ - [L]
  93. RewriteCond %{REQUEST_FILENAME} !-f
  94. RewriteCond %{REQUEST_FILENAME} !-d
  95. RewriteRule . /index.php [L]
  96. </IfModule>
  97.  
  98. <IfModule>
  99.  
  100. RewriteEngine on
  101.  
  102. RewriteRule ^find-a-dj/([^/]+)/([^/]+)/([^/]+)?$ ?_sft_event=$1&_sft_location=$2&_sft_musicoption=$3 [NC,L]
  103. </IfModule>
  104.  
  105.  
  106. # END WordPress
  107. Redirect 301 /djs /find-a-dj
  108. Redirect 301 /events /find-a-dj
  109. Redirect 301 /music-option /find-a-dj
  110. Redirect 301 /genre /find-a-dj
  111. Redirect 301 /social-wall /social
  112. Redirect 301 /blog/booking-a-dj-with-a-difference /booking-a-dj-with-a-difference
  113. Redirect 301 /blog/five-reasons-why-you-should-hire-a-professional-dj-for-your-wedding /five-reasons-why-you-should-hire-a-professional-dj-for-you-wedding
  114. Redirect 301 /blog/dj-for-hire-profile-ellis /dj-for-hire-profile-ellis
  115. Redirect 301 /blog/five-djs-for-hire-with-something-to-suit-every-event /five-djs-for-hire-with-something-to-suit-every-event
  116. Redirect 301 /videos /find-a-dj
  117. Redirect 301 /repertoire /find-a-dj
  118. Redirect 301 /photos /find-a-dj
  119. # BEGIN WebP Express
  120. # WebP Express has placed its rules in your wp-content dir. Go there.
  121. # END WebP Express
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement