# BEGIN HTTPS + WWW REDIRECT RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www\.dostavka-vodi-krim\.ru$ [NC,OR] RewriteCond %{HTTPS} !=on RewriteCond %{HTTP:X-Forwarded-Proto} !https [NC] RewriteRule ^(.*)$ https://dostavka-vodi-krim.ru/$1 [R=301,L] # END HTTPS + WWW REDIRECT # BEGIN WClearfyCache # Modified Time: 18-09-23 0:08:35 RewriteEngine On RewriteBase / # Start WCLEARFY Exclude # End WCLEARFY Exclude # Start_WCLEARFY_Exclude_Admin_Cookie RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=gp-admin # End_WCLEARFY_Exclude_Admin_Cookie RewriteCond %{HTTP_HOST} ^dostavka-vodi-krim.ru$ [NC] RewriteCond %{HTTP_USER_AGENT} !() RewriteCond %{HTTP_USER_AGENT} !(WP\sFastest\sCache\sPreload(\siPhone\sMobile)?\s*Bot) RewriteCond %{REQUEST_METHOD} !POST RewriteCond %{HTTPS} !=on RewriteCond %{REQUEST_URI} !(\/){2}$ RewriteCond %{REQUEST_URI} \/$ RewriteCond %{QUERY_STRING} !.+ RewriteCond %{HTTP:Cookie} !comment_author_ RewriteCond %{HTTP:Cookie} !safirmobilswitcher=mobil 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] AddDefaultCharset UTF-8 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" # END WClearfyCache # BEGIN WordPress RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress