We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Problem with FORCE-HTTPS and wildcard subdomains
Problem with FORCE-HTTPS and wildcard subdomains
Hello there,
I have a big problem with those two. Every wildcard subdomain redirects to the main domain if Force-https template is on. If I disable the Force-https template, every wild subdomain redirects to the http:// one, so if I use a script with force ssl in htaccess, there will be an infinite redirect loop because the server is redirect to http and the script will redirect the http to https and so on.
How can I solve this? I just want to have something like force https, or don't know, but when a subdomain (wild card) is accessed I just want it to redirect to https (if accessed on http) and get the content right there. Please help me!
I have a big problem with those two. Every wildcard subdomain redirects to the main domain if Force-https template is on. If I disable the Force-https template, every wild subdomain redirects to the http:// one, so if I use a script with force ssl in htaccess, there will be an infinite redirect loop because the server is redirect to http and the script will redirect the http to https and so on.
How can I solve this? I just want to have something like force https, or don't know, but when a subdomain (wild card) is accessed I just want it to redirect to https (if accessed on http) and get the content right there. Please help me!
-
- Posts: 2
- Joined: Thu Dec 10, 2015 6:47 pm
Re: Problem with FORCE-HTTPS and wildcard subdomains
did you find the solution?