Hallo,
Ik wil al mijn bezoekers van http naar https sturen. Dit lukt al met .htaccess zie:
Apache Configuration
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
RewriteCond %{HTTP_HOST} !^www.domein.be$ [NC]
RewriteRule ^(.*)$ https://www.domein.be/$1 [L,R=301]
RewriteCond %{HTTP_USER_AGENT} libwww-perl.*
RewriteRule .* ? [F,L]
Maar nu zit ik met het probleem dat mijn subdomeinen worden doorgestuurd naar https://www.domein.be/subdomein
Weet er iemand hoe ik subdomeinen zoals http://subdomein.domein.be doorstuur naar https//subdomein.domein.be met htaccess?
Met vriendelijke groeten,
Aaron