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 http://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.