Support » Plugin: Really Simple SSL » Plugin Question

  • Resolved Leslie Bigos



    I recently got a site certificate and my site now has the Lock on all my pages so I have done a good job so far. I put this code in my .htaccess file

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

    However, I see an external site to my links to a page on my site with a URL like this. Do I have to set up a URL for each and every individual page on my site from the http:// to the https:// version or will the plugin do that for me?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Rogier Lankhorst


    Didn’t the plugin add this code for you? The code you posted is almost the same as the code Really Simple SSl inserts, but has an error:
    %{HTTPS} on should be %{HTTPS} !=on

    Your code says:
    #line 1: If we’re currently on SSL
    #line 2: Redirect to the same url over https.

    If you adjust the code to check if your site is NOT on SSL, then redirect, all incoming links will get redirected to the https version of your site.

    So, I tried the code as you suggested and it didn’t work. I removed the code from my .htaccess file and activated your plugin. It worked! Thank you so very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin Question’ is closed to new replies.