Created
May 9, 2020 00:40
-
-
Save tradesouthwest/c459c6de613e9535fb26b3324a3769e6 to your computer and use it in GitHub Desktop.
secure wordpress ssl url directive for SSL confidence
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Begin GzipofBreezeWPCache | |
SetEnv BREEZE_GZIP_ON 1 | |
<IfModule mod_deflate.c> | |
AddType x-font/woff .woff | |
AddOutputFilterByType DEFLATE image/svg+xml | |
AddOutputFilterByType DEFLATE text/plain | |
AddOutputFilterByType DEFLATE text/html | |
AddOutputFilterByType DEFLATE text/xml | |
AddOutputFilterByType DEFLATE text/css | |
AddOutputFilterByType DEFLATE text/javascript | |
AddOutputFilterByType DEFLATE application/xml | |
AddOutputFilterByType DEFLATE application/xhtml+xml | |
AddOutputFilterByType DEFLATE application/rss+xml | |
AddOutputFilterByType DEFLATE application/javascript | |
AddOutputFilterByType DEFLATE application/x-javascript | |
AddOutputFilterByType DEFLATE application/x-font-ttf | |
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject | |
AddOutputFilterByType DEFLATE font/opentype font/ttf font/eot font/otf | |
</IfModule> | |
# End GzipofBreezeWPCache | |
#Expires headers configuration added by BREEZE WP CACHE plugin | |
SetEnv BREEZE_BROWSER_CACHE_ON 1 | |
<IfModule mod_expires.c> | |
ExpiresActive On | |
ExpiresByType image/gif "access 1 year" | |
ExpiresByType image/jpg "access 1 year" | |
ExpiresByType image/jpeg "access 1 year" | |
ExpiresByType image/png "access 1 year" | |
ExpiresByType image/x-icon "access 1 year" | |
ExpiresByType text/html "access plus 0 seconds" | |
ExpiresByType text/xml "access plus 0 seconds" | |
ExpiresByType text/css "access 1 month" | |
ExpiresByType text/javascript "access 1 month" | |
ExpiresByType application/xml "access plus 0 seconds" | |
ExpiresByType application/json "access plus 0 seconds" | |
ExpiresByType application/javascript "access 1 month" | |
ExpiresByType application/x-javascript "access 1 month" | |
ExpiresByType application/xhtml-xml "access 1 month" | |
ExpiresByType application/pdf "access 1 month" | |
ExpiresByType application/x-shockwave-flash "access 1 month" | |
ExpiresDefault "access 1 month" | |
</IfModule> | |
#End of expires headers configuration | |
# BEGIN rlrssslReallySimpleSSL rsssl_version[3.3.2] | |
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteCond %{HTTP:X-Forwarded-Proto} !https | |
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] | |
</IfModule> | |
# END rlrssslReallySimpleSSL | |
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment