Title: Can&#8217;t login after change to https
Last modified: May 21, 2017

---

# Can’t login after change to https

 *  [trojan](https://wordpress.org/support/users/trojan/)
 * (@trojan)
 * [9 years ago](https://wordpress.org/support/topic/cant-login-after-change-to-https/)
 * After I moved site from http to https I can’t log in anymore (site works normally
   on https). When I try access login page I get ERR_TOO_MANY_REDIRECTS error. I
   can only log in if I change it back to http in database (wp options). When I’m
   loged in and I change back to https in settings, I get error page of course.
 * I disabled all plugins and changed the theme (back to default) and it still didn’t
   work.
    I tried clearing browser cache, tried different browsers and different
   computers.

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years ago](https://wordpress.org/support/topic/cant-login-after-change-to-https/#post-9154192)
 * Did you set up an SSL certficate on your host?
 * Here’s what I do when going from http to https:
 * 1. Set up the certificate
    2. Use the plugin “better search replace” to search
   for `http://example.com` and replace with `https://example.com` 3. That forces
   a logout, so while logged out, I remove all cookies associated with the site 
   and clear my browser’s cache. 4. Log back in.
 *  Thread Starter [trojan](https://wordpress.org/support/users/trojan/)
 * (@trojan)
 * [9 years ago](https://wordpress.org/support/topic/cant-login-after-change-to-https/#post-9154205)
 * Yes, I setup SSL on my host. As I mentioned before, sites work without a problem
   on https, except that I can’t login.
 * I tried to replace all links in the database manually before, that didn’t help.
   I tried using plugin you suggested just in case, but that didn’t help either.
 *  Thread Starter [trojan](https://wordpress.org/support/users/trojan/)
 * (@trojan)
 * [9 years ago](https://wordpress.org/support/topic/cant-login-after-change-to-https/#post-9157437)
 * I removed the complete site and made new fresh installation and still had the
   same problem. I guess there must be a problem elsewhere. Is it possible that 
   there is a problem with host or SSL certificate settings?

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

The topic ‘Can’t login after change to https’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [trojan](https://wordpress.org/support/users/trojan/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/cant-login-after-change-to-https/#post-9157437)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
