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.

This only happens on about 1% of the sites and is easily fixed, but make sure you have FTP access.

To fix the problem, you need 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:
    • Look for wp-config.php in the root of your site.
    • Open the wp-config, and add at the top, but after  “<?php":
      define( 'RLRSSSL_DO_NOT_EDIT_HTACCESS', TRUE );

Related Articles

4 Comments

  • Jithendar Dharmapuri

    nice information thanks for sharing… very simple tutorial

  • Habe

    Helaas, ik heb heb deze plugin niet aan de praat kunnen krijgen op mijn site. Meer iets voor freaks denk ik;-)

    • Mark Wolters

      Goedemorgen,

      normaal is het juist erg makkelijk om SSL te activeren met de plugin. Waar liep je tegenaan? Wellicht kunnen we helpen 🙂

      Mark

  • Suryadi

    Very helpful thank you

Leave a Comment