Http:// to https://
Auteur : X5 Croatia
Visité 2567,
Followers 1,
Partagé 0
Can you make in the aplication that link's are converted from http to https, my hosting provider say that every link must have a https://in front of every link. I'm just asking, because my server is a certificate protected...
Posté le
Please ensure that the "URL of the website" is entered with "https://" in the project under "1 Settings".
If the page was previously published with http:// , you should install a redirection in .htaccess.
https://www.ndchost.com/wiki/apache/redirect-http-to-https
JJ.
Auteur
This is not working at all...
See this theme!
Auteur
I answer. Not working at all...
Not working at all?
Please give for more information.
Your comment is too general.
JJ.
I use this in htaccess-file
BEGIN VALIDATE SSL
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^.well-known/pki-validation/fileauth.htm$ validate-ssl.txt [END]
</IfModule>
# END VALIDATE SSL
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mydomain\.no [NC]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI}
Change mydomain\.no to your domain
Only change mydomain and no
https://wp-mix.com/htaccess-redirect-http-to-https/