I recently shifted to https:// with SSL for Multi Domain
I have a domain in subfolder say domain.com
when I try to access example.com it goes fine to https://www.example.com
However If I type example.com/blog it goes to https://www.example.com/subfolder/blog
I am using following .htacesss
to redirect http to https in both primary and subfolder domains
# HTTPS Rewrite
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
I think editing this somehow should fix this problem, please help