• Resolved Rappadappa77

    (@rappadappa77)


    Hey Guys,

    I think I have everything set to https, but I’m not 100% sure, can you check my debug and see, because I see some fails.

    ** Detecting configuration **
    plugin version: 2.3.9
    Already on SSL, start detecting configuration
    ssl type: SERVER-HTTPS-ON
    — force ssl: FALSE
    Check for Mixed Content detection failed
    ** Configuring SSL **
    testing htaccess rules…
    htaccess rules test failed with error: Unknown error
    wp config jetpack fix already in place
    checking if .htaccess can or should be edited…
    rules already added in .htaccess.
    converting siteurl and homeurl to https

    Howard

    https://www.ads-software.com/plugins/really-simple-ssl/

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

    (@rogierlankhorst)

    Hi,

    the force ssl false in the debug log only means the plugin did enable SSL automatically, not forced by user.

    It is possible the .htaccess redirect wasn’t added, as the test of these rules failed. You can follow these instructions to insert it manually.

    https://really-simple-ssl.com/knowledge-base/manually-insert-htaccess-redirect-http-to-https/

    Thread Starter Rappadappa77

    (@rappadappa77)

    Hi Rogier,

    Thank you for the information, I ran the test and I got this on the test page, I didn’t understand when you said “mind the s” so I used https in my address.

    SSL test page

    This page is used purely to test for ssl availability.
    #SERVER-HTTPS-ON# (on)
    #SERVERPORT443#

    #SUCCESFULLY DETECTED SSL#

    HTTP_HOST: https://www.mysite.com
    REQUEST_URI: /wp-content/plugins/really-simple-ssl/ssl-test-page.php

    Should I bother doing the .htaccess file?

    Howard

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Based on the testpage, you can add this to your htaccess:
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on [NC]
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    </IfModule>

    And you have your .htaccess rewrite rule added.

    Thread Starter Rappadappa77

    (@rappadappa77)

    I see below code above the WordPress begin code, should I drop in-between below code?

    # BEGIN rlrssslReallySimpleSSL rsssl_version[2.3.9]
    # END rlrssslReallySimpleSSL

    Thread Starter Rappadappa77

    (@rappadappa77)

    Can I add this as well?

    <IfModule mod_headers.c>
    Header always set Strict-Transport-Security ‘max-age=31536000’ env=HTTPS
    </IfModule>

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Yes, that looks good.

    Thread Starter Rappadappa77

    (@rappadappa77)

    Thank you for the information, I added the codes to my .htaccess file, it showed the code on WordPress admin, but now I don’t see it in the .htaccess anymore, none of the codes I added, still seeing this on WordPress admin

    warning HTTP Strict Transport Security was not set in your .htaccess. To enable, get Premium

    Howard

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    I forgot to mention, you can enable the setting “stop editing htaccess”. Then add those lines.

    Thread Starter Rappadappa77

    (@rappadappa77)

    Yes I realize that afterwards and did that, so this is what I have in the .htaccess file.

    # BEGIN rlrssslReallySimpleSSL rsssl_version[2.3.9]
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on [NC]
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    </IfModule>
    <IfModule mod_headers.c>
    Header always set Strict-Transport-Security ‘max-age=31536000’ env=HTTPS
    </IfModule>
    # END rlrssslReallySimpleSSL

    But I’m still seeing this in WordPress admin.

    warning HTTP Strict Transport Security was not set in your .htaccess. To enable, get Premium

    Howard

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Your Htaccess looks good. Not to worry. As you have inserted yourself, it’s preobably slightly different, with an extra space or something like that.

    Thread Starter Rappadappa77

    (@rappadappa77)

    Ok Rogier, Thank you for all your help, much appreciated. As long as it works currently and does what it says, it will be alright.

    Howard

    Thread Starter Rappadappa77

    (@rappadappa77)

    Hello Rogier,

    I see this error in Firefox Web Console.

    Strict-Transport-Security: The site specified a header that could not be parsed successfully.[Learn More]

    Howard

    Thread Starter Rappadappa77

    (@rappadappa77)

    Here is my website https://www.searchjamaica.co

    Howard

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    As your code looks good, you might want to check your quotes. It’s possible that you’ve copied it from a site, and that the quotes are encoded an some way. So type in the quotes manually, and check again.

    I’ve also run an SSL scan on your site, your certificate scores an F, which is pretty low. I’d contact your hosting company about that.

    Thread Starter Rappadappa77

    (@rappadappa77)

    I copied the code form your website you sent me above, the max-age in quotes seem to be the problem, on your website the quote is ‘max-age’ on others I see “max-age”

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Website check for me, i have debug log!’ is closed to new replies.