Title: Stop automatic redirect from https://www.mysite.com -&gt; http://www.mysite.com
Last modified: August 21, 2016

---

# Stop automatic redirect from https://www.mysite.com -> http://www.mysite.com

 *  [gvanto](https://wordpress.org/support/users/gvanto/)
 * (@gvanto)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/stop-automatic-redirect-from-httpswwwmysitecom-httpwwwmysitecom/)
 * I have implemented a action method (in my plugin folder which handles user login
   functionality) which checks if a valid user has logged in and if yes, redirects
   them to [https://www.mysite.com](https://www.mysite.com) (https will be used 
   for logged in users).
 * Problem is, accessing [https://www.mysite.com](https://www.mysite.com) directly
   causes a redirect to the non-https version: [http://www.mysite.com](http://www.mysite.com)…
   which then causes an infinite loop to occur.
 * So I was wondering – how to stop [https://www.mysite.com](https://www.mysite.com)
   redirecting automatically to: [http://www.mysite.com](http://www.mysite.com)?
 * Many thanks for any help,
    gvanto

The topic ‘Stop automatic redirect from https://www.mysite.com -> http://www.mysite.
com’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [gvanto](https://wordpress.org/support/users/gvanto/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/stop-automatic-redirect-from-httpswwwmysitecom-httpwwwmysitecom/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
