Siteground Optimizer causing Javascript not to work
-
# HTTPS forced by SG-Optimizer <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] </IfModule> # END HTTPS
This is the code that is in my .htaccess. The moment I remove these lines, my Javascript filter on my website starts working (again). When I add them back, Javascript is broken (GET function to filter results on my page).
Is there a workaround for this? Do I have to enable this within the plugin? Isn’t SSL alone enough?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Siteground Optimizer causing Javascript not to work’ is closed to new replies.