D
D
Dmitry Arushanov2016-03-25 03:04:50
htaccess
Dmitry Arushanov, 2016-03-25 03:04:50

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

1 answer(s)
I
Ivan Kozlov, 2016-03-25
@trampick

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 question

Ask a Question

731 491 924 answers to any question