Title: Realy Simple SSL error RewriteCond %{HTTPS} !=on [NC]
Last modified: December 30, 2020

---

# Realy Simple SSL error RewriteCond %{HTTPS} !=on [NC]

 *  Resolved [ozruba](https://wordpress.org/support/users/ozruba/)
 * (@ozruba)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/realy-simple-ssl-error-rewritecond-https-on-nc-2/)
 * Hi Dears,
 * I get the SSL error as below and I checked it on wordpress.org
 * 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://%](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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frealy-simple-ssl-error-rewritecond-https-on-nc-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/realy-simple-ssl-error-rewritecond-https-on-nc-2/#post-13849292)
 * 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](https://wordpress.org/support/users/ozruba/)
 * (@ozruba)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/realy-simple-ssl-error-rewritecond-https-on-nc-2/#post-13851773)
 * 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](https://wordpress.org/support/users/markwolters/)
 * (@markwolters)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/realy-simple-ssl-error-rewritecond-https-on-nc-2/#post-13852094)
 * Hi [@ozruba](https://wordpress.org/support/users/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 [http://](https://wordpress.org/support/topic/realy-simple-ssl-error-rewritecond-https-on-nc-2/?output_format=md).
   If the site then redirects to [https://](https://wordpress.org/support/topic/realy-simple-ssl-error-rewritecond-https-on-nc-2/?output_format=md),
   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/](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](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/realy-simple-ssl-error-rewritecond-https-on-nc-2/#post-13853754)
 * 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.

 * ![](https://ps.w.org/really-simple-ssl/assets/icon-256x256.png?rev=2839720)
 * [Really Simple Security - Simple and Performant Security (formerly Really Simple SSL)](https://wordpress.org/plugins/really-simple-ssl/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-ssl/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-ssl/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-ssl/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-ssl/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-ssl/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/realy-simple-ssl-error-rewritecond-https-on-nc-2/#post-13853754)
 * Status: resolved