Title: Small http -&gt; https redirect issue
Last modified: August 25, 2017

---

# Small http -> https redirect issue

 *  Resolved [fried_eggz](https://wordpress.org/support/users/fried_eggz/)
 * (@fried_eggz)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/small-http-https-redirect-issue/)
 * Hello and thanks for a very useful plugin.
 * I have found a small issue with https. If you have a https site setup that automatically
   redirects http -> https you can get stuck in a redirect loop under certain conditions.
 * If a users clicks a link that is [http://example.com](http://example.com), that
   URL will get passed to the redirect_to get variable resulting in a non working
   redirect after login.
 * The same happens if a user manually types in [http://example.com](http://example.com)(
   without the s)
 * I’m sure this could be fixed by server config rules but I just wanted to let 
   you know.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Kevin Vess](https://wordpress.org/support/users/kevinvess/)
 * (@kevinvess)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/small-http-https-redirect-issue/#post-9441825)
 * Thanks for using Force Login!
 * > [I] have a https site setup that automatically redirects http -> https
 * How is your site setup to redirect HTTP requests to HTTPS?
 * And yes– this should be setup either by the server config or your DNS; if you’re
   doing the redirect using PHP, then you will have a problem if your PHP redirect
   fires after the Force Login redirect.

Viewing 1 replies (of 1 total)

The topic ‘Small http -> https redirect issue’ is closed to new replies.

 * ![](https://ps.w.org/wp-force-login/assets/icon.svg?rev=1904031)
 * [Force Login](https://wordpress.org/plugins/wp-force-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-force-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-force-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-force-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-force-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-force-login/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kevin Vess](https://wordpress.org/support/users/kevinvess/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/small-http-https-redirect-issue/#post-9441825)
 * Status: resolved