Viewing 1 replies (of 1 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Add this to the top of your site’s .htaccess file:

    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] 

    Also, install the plugin “better search replace. Search for https://example.com and replace with https://example.com in all tables.

Viewing 1 replies (of 1 total)
  • The topic ‘Redirecting http to https’ is closed to new replies.