Hmmm, so I don’t have this file
It isn’t a global redirect - because https://hebergpower.fr/contact.php and https://hebergpower.fr/cart.php?a=view do not have a redirect to http … it appears just your index.php page ( or just the domain name with nothing more )
I have realised what you mean by your title though - the certificate is only valid for hebergpower.fr and not www.hebergpower.fr. Ideally you should generate a certificate for the domain both with and without the www.
You need to generate it for both, on the same certificate. (I don’t know what command you used for gernerating the first cert. If you provide it I can tell you how to modify it for adding the www domain )
I think the problem is not the certificate but the CMS , as you said , other page on my website have the HTTPS activate on http://hebergpower.fr
You ideally need the cert to also be valid for www.hebergpower.fr for those who use that to find your site ( even if it then redirects to hebergpower.fr
Hmmm , i think it works now
You are right, the redirect has gone - did you change something ? or was it magic ?
You should be able to uncomment the lines, now
RewriteEngine on
RewriteCond %{SERVER_NAME} =hebergpower.fr
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [L,QSA,R=permanent]
and reload apache. Then check all the redirects are correct.
I change in the WHMCS configuration the main domain , i just add https before XD
Thanks - good to know in case someone else has the same issue.
Yep, thanks you a lot for the help
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.