I am trying to force https and redirect non-www to www:
- domain.com ==> https://www.domain.com
- www.domain.com ==> https://www.domain.com
The problem is I have many sudomains and I don't have wildcard ssl (for now) so I want :
- (x).domain.com (except www.domain.com) ===> http://*.domain.com
Is that possible ?
All the ansewers i found and tested only force https or redirect all non-www to www my problem is i don't want subdomains get https except for www and redirect non-www to www