Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # BEGIN WordPress
- # The directives (lines) between `BEGIN WordPress` and `END WordPress` are
- # dynamically generated, and should only be modified via WordPress filters.
- # Any changes to the directives between these markers will be overwritten.
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /
- RewriteRule ^index\.php$ - [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . /index.php [L]
- </IfModule>
- # END WordPress
- RewriteCond %{HTTPS} off
- RewriteCond %{HTTP:X-Forwarded-SSL} !on
- RewriteCond %{HTTP_HOST} ^heavenz\.lk$ [OR]
- RewriteCond %{HTTP_HOST} ^www\.heavenz\.lk$
- RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
- RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
- RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
- RewriteRule ^/?$ "https\:\/\/heavenz\.lk\/" [R=301,L]
- # php -- BEGIN cPanel-generated handler, do not edit
- # Set the “ea-php73” package as the default “PHP” programming language.
- <IfModule mime_module>
- AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
- </IfModule>
- # php -- END cPanel-generated handler, do not edit
- <IfModule mod_deflate.c>
- # Compress HTML, CSS, JavaScript, Text, XML and fonts
- AddOutputFilterByType DEFLATE application/javascript
- AddOutputFilterByType DEFLATE application/rss+xml
- AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
- AddOutputFilterByType DEFLATE application/x-font
- AddOutputFilterByType DEFLATE application/x-font-opentype
- AddOutputFilterByType DEFLATE application/x-font-otf
- AddOutputFilterByType DEFLATE application/x-font-truetype
- AddOutputFilterByType DEFLATE application/x-font-ttf
- AddOutputFilterByType DEFLATE application/x-javascript
- AddOutputFilterByType DEFLATE application/xhtml+xml
- AddOutputFilterByType DEFLATE application/xml
- AddOutputFilterByType DEFLATE font/opentype
- AddOutputFilterByType DEFLATE font/otf
- AddOutputFilterByType DEFLATE font/ttf
- AddOutputFilterByType DEFLATE image/svg+xml
- AddOutputFilterByType DEFLATE image/x-icon
- AddOutputFilterByType DEFLATE text/css
- AddOutputFilterByType DEFLATE text/html
- AddOutputFilterByType DEFLATE text/javascript
- AddOutputFilterByType DEFLATE text/plain
- AddOutputFilterByType DEFLATE text/xml
- # Remove browser bugs (only needed for really old browsers)
- BrowserMatch ^Mozilla/4 gzip-only-text/html
- BrowserMatch ^Mozilla/4\.0[678] no-gzip
- BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
- Header append Vary User-Agent
- </IfModule>
- # BEGIN WP-HUMMINGBIRD-CACHING
- # The directives (lines) between `BEGIN WP-HUMMINGBIRD-CACHING` and `END WP-HUMMINGBIRD-CACHING` are
- # dynamically generated, and should only be modified via WordPress filters.
- # Any changes to the directives between these markers will be overwritten.
- <IfModule mod_expires.c>
- ExpiresActive On
- ExpiresDefault A0
- <FilesMatch "\.(txt|xml|js)$">
- ExpiresDefault A691200
- </FilesMatch>
- <FilesMatch "\.(css)$">
- ExpiresDefault A691200
- </FilesMatch>
- <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|svg)$">
- ExpiresDefault A691200
- </FilesMatch>
- <FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$">
- ExpiresDefault A691200
- </FilesMatch>
- </IfModule>
- <IfModule mod_headers.c>
- <FilesMatch "\.(txt|xml|js)$">
- Header set Cache-Control "max-age=691200"
- </FilesMatch>
- <FilesMatch "\.(css)$">
- Header set Cache-Control "max-age=691200"
- </FilesMatch>
- <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|svg)$">
- Header set Cache-Control "max-age=691200"
- </FilesMatch>
- <FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$">
- Header set Cache-Control "max-age=691200"
- </FilesMatch>
- </IfModule>
- # END WP-HUMMINGBIRD-CACHING
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement