Answer the question
In order to leave comments, you need to log in
Why doesn't https work on the site?
There is a site uzhin-doma.ru An ssl certificate is installed on the site. Initially, the site worked on WP, when translated to https, it stops loading. As a test, I created a simple page, which, in theory, should work via https.
I wrote the following in .httaccess:
DirectoryIndex index.html
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question