Title: where is force https code?
Last modified: August 21, 2016

---

# where is force https code?

 *  Resolved [Dibit44](https://wordpress.org/support/users/dibit44/)
 * (@dibit44)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/where-is-force-https-code/)
 * Hi,
 * After forcing SSL for admin & login (SSL is installed on server), any attempt
   at going to the admin page results in a redirect loop. Rest of the site seems
   fine.
 * I can’t find any mentions of https in the .htaccess files or
 * There is a section in wp-login.php which starts with the comment:
    // Redirect
   to https login if forced to use SSL
 * Is that from BWPS or default for wordpress?
 * I removed the BWPS section from .htaccess but that didn’t change anything (there
   was nothing about SSL / https, just denying IP’s from bad logins).
 * Where is the code for force ssl from BWPS?
 * Thanks
 * [http://wordpress.org/plugins/better-wp-security/](http://wordpress.org/plugins/better-wp-security/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Dibit44](https://wordpress.org/support/users/dibit44/)
 * (@dibit44)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/where-is-force-https-code/#post-4341975)
 * just need to change the wp-config file. all sorted.

Viewing 1 replies (of 1 total)

The topic ‘where is force https code?’ 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/)

## Tags

 * [bwps](https://wordpress.org/support/topic-tag/bwps/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [redirect loop](https://wordpress.org/support/topic-tag/redirect-loop/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * 1 reply
 * 1 participant
 * Last reply from: [Dibit44](https://wordpress.org/support/users/dibit44/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/where-is-force-https-code/#post-4341975)
 * Status: resolved