Redirect Loops Redirect rules

Remove .htaccess redirect on site lockout

When you enable the setting “htaccess redirect” in settings/ssl/settings, Really Simple SSL detects the best redirect, then opens a testpage to verify this option won’t result in redirect loops. Even so this in some cases causes redirect loops after all: there are a lot of server configurations, and some respond unexpectedly to the proposed rules. If this happens, you get locked out of the back-end, because of the redirect loop.

To solve this you have to remove the rewrite rule from your .htaccess file.

  1. Open your ftp client (for example filezilla)
  2. In the root of your website, look for the .htaccess file. If you cannot find it, make sure filezilla shows hidden files
  3. Open it in a texteditor, and look for # BEGIN rlrssslReallySimpleSSL
  4. Remove all lines between # BEGIN and # END, and save
  5. Prevent Really Simple SSL from editing the htaccess any further:
    1. Look for wp-config.php in the root of your site.
    2. Open the wp-config, and add at the top, but after  “<?php":
      define( 'RLRSSSL_DO_NOT_EDIT_HTACCESS', TRUE );

Related Articles

  • Does Really Simple SSL make my site slower?

    When you’ve activated Really Simple SSL on your site, in some cases you might notice your site has become slower. I specifically built this plugin to be fast: most of the...
  • Using safe mode

    Migrating to SSL can cause unexpected side effects. When caching is causing redirects, or a plugin redirects back to http, or other such issues, it can be helpfull to activate...
  • when the built in deactivation does not work, manual uninstalling

    Installing SSL can be tricky. If another plugin redirects to http, or your certificate is not valid,  a redirect loop could occur, resulting in a not accessible back-end. This plugin is...
  • Manually insert .htaccess redirect http to https

    Really Simple SSL has an option which inserts the detected .htaccess redirect rules. There are several server configurations, which each require their own .htaccess redirect. The plugin tries to detect...

Leave a Comment