fix
This commit is contained in:
39
.htaccess
39
.htaccess
@@ -1,3 +1,42 @@
|
||||
# BEGIN WpFastestCache
|
||||
# Modified Time: 19-04-26 17:08:48
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteBase /
|
||||
RewriteCond %{HTTPS} on
|
||||
RewriteCond %{HTTP_HOST} ^dostavka-vodi-krim.ru
|
||||
# Start WPFC Exclude
|
||||
# End WPFC Exclude
|
||||
# Start_WPFC_Exclude_Admin_Cookie
|
||||
RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=gp-admin
|
||||
# End_WPFC_Exclude_Admin_Cookie
|
||||
RewriteCond %{HTTP_HOST} ^dostavka-vodi-krim.ru
|
||||
RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WP_FASTEST_CACHE_CSS_VALIDATOR|Twitterbot|LinkedInBot|WhatsApp|Mediatoolkitbot)
|
||||
RewriteCond %{HTTP_USER_AGENT} !(WP\sFastest\sCache\sPreload(\siPhone\sMobile)?\s*Bot)
|
||||
RewriteCond %{REQUEST_METHOD} !POST
|
||||
RewriteCond %{REQUEST_URI} !(\/){2,}
|
||||
RewriteCond %{THE_REQUEST} !(\/){2,}
|
||||
RewriteCond %{REQUEST_URI} \/$
|
||||
RewriteCond %{QUERY_STRING} !.+ [OR]
|
||||
RewriteCond %{QUERY_STRING} fbclid=
|
||||
RewriteCond %{HTTP:Cookie} !comment_author_
|
||||
RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
|
||||
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or]
|
||||
RewriteCond /home/a0264400/domains/dostavka-vodi-krim.ru/public_html/wp-content/cache/all/$1/index.html -f
|
||||
RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L]
|
||||
</IfModule>
|
||||
<FilesMatch "index\.(html|htm)$">
|
||||
AddDefaultCharset UTF-8
|
||||
<ifModule mod_headers.c>
|
||||
FileETag None
|
||||
Header unset ETag
|
||||
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
|
||||
Header set Pragma "no-cache"
|
||||
Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT"
|
||||
</ifModule>
|
||||
</FilesMatch>
|
||||
# END WpFastestCache
|
||||
|
||||
# BEGIN HTTPS + WWW REDIRECT
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
|
||||
Reference in New Issue
Block a user