• Resolved ozruba

    (@ozruba)


    Hi Dears,

    I get the SSL error as below and I checked it on www.remarpro.com

    There are a couple of different error types which we written here to ask support but non of them are exact same to my error and non the recommended solution worked in my case.

    My SSL Error:

    # BEGIN rlrssslReallySimpleSSL rsssl_version[4.0.5]
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on [NC]
    RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
    </IfModule>
    # END rlrssslReallySimpleSSL

    My code in our .htaccess file :

    # Bu i?aretler aras?ndaki y?nergelerde yap?lan de?i?iklikler üzerine yaz?lacakt?r.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Would you please comment what the problem can be. And would you please tell me why I get the message = there are too many attempts from that (my) IP address trying to access to your webpage, so you can not open this page now

    When I reload the old config which was written (my config above) I can access the page again.

    Thanks for your support

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    It is not clear to me what your issue is. This code:

    
    # BEGIN rlrssslReallySimpleSSL rsssl_version[4.0.5]
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on [NC]
    RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
    </IfModule>
    # END rlrssslReallySimpleSSL

    is a correct .htaccess redirect to SSL. What is the error you see?

    Thread Starter ozruba

    (@ozruba)

    Hi Rogier,

    Thanks for your response.

    This code you sent, is the error I see on dashboard, which says:

    Warning : The .htaccess redirect rules selected by this plugin failed in the test. Set manually or dismiss to leave on WordPress redirect.

    then it shows hot it should be in .htaccess file (the one you shared)

    But when I go to FTP and modify .htaccess, I can not open my domain anymore, it directly says there are too many connection attemps (from my laptop IP) to that site, so we can not open it .

    This is the problem. So I set the .htaccess file back to original (which is as below)

    Original :

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Plugin Author Mark

    (@markwolters)

    Hi @ozruba,

    you could also try to modify the .htaccess file using your hosting providers control panel if it doesn’t work via FTP. You can test if the code works correctly by visiting your site via https://. If the site then redirects to https://, you will know the redirect is working correctly and the notice can be safely dismissed. Also see https://really-simple-ssl.com/knowledge-base/manually-insert-htaccess-redirect-http-to-https/. Once the redirect has been added manually, you can enable the ‘stop editing the .htaccess file’ option and disable the .htaccess redirect setting as well.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    You can also try to use any of the other redirect rules in the article Mark mentioned, as the detected rule doesn’t seem to work on your site.

    One of the other examples will probably work on your site.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Realy Simple SSL error RewriteCond %{HTTPS} !=on [NC]’ is closed to new replies.