Answer the question
In order to leave comments, you need to log in
How to set up https on wordpress?
Good day to all.
Below is a stupid question))
How to configure .htaccess for wordpress so that it would redirect all requests from http to https while preserving the value of permalinks settings. (selected Post Name value)
Answer the question
In order to leave comments, you need to log in
Or like this:
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question