• WordPress from version 5.7 makes it easy to switch from http to https.
    As far as the link works after the https address, there is a problem with the http address.
    You should be redirected from http to https, but this is not currently the case.
    The question is as follows:
    Should the redirect from http to https work automatically from version 5.7? Is it necessary to manually add the rule to .htaccess?

    RewriteEngine On 
    RewriteCond %{HTTPS} off 
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    • This topic was modified 3 years, 8 months ago by joannapl.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Redirect http to https’ is closed to new replies.