Hi
I want to duplicate my Drupal 7 site on the same server, the duplicated site is abc.domain.uk, a copy of domain.uk / www.domain.uk.
The original site htaccess has this:
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\.domain\.uk*
RewriteRule ^(.*)$ https://domain.uk/$1 [L,R=301]
For the subdomain, I have copied the htaccess file over from original site, and changed the relevant lines to
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^abc\.domain\.uk*
RewriteRule ^(.*)$ https://abc.domain.uk/$1 [L,R=301]
When I load http://abc.domain.uk, it redirects to https://abc.domain.uk, but does not load any of the css. Looking further, what is obvious is that all the "import url" is http, rather than https. Also, all other links to css (in html.tpl.php?) remains http.