Title: locked out of backend &#8211; http &gt; https
Last modified: August 20, 2016

---

# locked out of backend – http > https

 *  [wp.Man](https://wordpress.org/support/users/wpman-1/)
 * (@wpman-1)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/locked-out-of-backend-http-https/)
 * wp-admin now redirects to HTTPS even though i never enabled any SSL option
 * removed the BWPS code from root and wp-admin .htaccess files – there is nothing
   in my .htaccess files that i can find that would cause a redirectto https
 * i deleted the only 2 %bwps% options i found in the db
 * still locked out! what does it take to disable this plugin?
 *     ```
       Secure Connection Failed
   
       An error occurred during a connection to (domain).
   
       SSL received a record that exceeded the maximum permissible length.
   
       (Error code: ssl_error_rx_record_too_long)
       ```
   
 * [http://wordpress.org/extend/plugins/better-wp-security/](http://wordpress.org/extend/plugins/better-wp-security/)

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

 *  Thread Starter [wp.Man](https://wordpress.org/support/users/wpman-1/)
 * (@wpman-1)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/locked-out-of-backend-http-https/#post-3534143)
 * problem was due to entry in wp-config…
 * define( ‘FORCE_SSL_ADMIN’, true );
 * will do some testing on this because afaik i never enabled admin ssl
 *  Thread Starter [wp.Man](https://wordpress.org/support/users/wpman-1/)
 * (@wpman-1)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/locked-out-of-backend-http-https/#post-3534175)
 * i don’t remember the exact sequence that resulted in the lock-out/https redirect,
   but it went something like this…
 * * install plugin
    * prompted to backup db, which i did – this resulted in a blank
   page and i never received the email * allowed write access to config and htaccess*
   followed the rest of the prompts, enabling basic security, etc. * clicked this
   on the dashboard: Your WordPress header is still revealing some information to
   users. Click here to fix. * checked: Remove EditURI header
 * right after the above is when /wp-admin/ switched to SSL and i know i did not
   enable this, though i would admit there may be a very slight chance i clicked
   it accidentally
 * so far i can’t reproduce the problem

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

The topic ‘locked out of backend – http > https’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [wp.Man](https://wordpress.org/support/users/wpman-1/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/locked-out-of-backend-http-https/#post-3534175)
 * Status: not resolved