I installed an ssl certificate on my site, when i enter a url with "https", it loads the way it should, but when i enter a url with only "http" like "http://example.org/menu" it redirects me to "https://example.org/index.html" and i dont know why. This is what my htaccess contains
Options +FollowSymLinks -MultiViews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^imgs$ imgs [NC,L,QSA] RewriteRule ^static$ static [NC,L,QSA] RewriteRule ^test$ index.html [NC,L,QSA] RewriteRule ^login$ index.html [NC,L,QSA] RewriteRule ^menu$ index.html [NC,L,QSA] RewriteCond %{HTTPS} on! RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] All rules say index.html because it is an SPA, before i install de ssl and add the two latest lines it worked with no problem, but now every url that i enter with http redirects to "https://example.org/index.html"