Title: [Plugin: WordPress HTTPS (SSL)] Log-in cookie
Last modified: August 20, 2016

---

# [Plugin: WordPress HTTPS (SSL)] Log-in cookie

 *  [mikedacre](https://wordpress.org/support/users/mikedacre/)
 * (@mikedacre)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-log-in-cookie/)
 * I am having issues with logging in.
 * I need to use [https://secure.site.com](https://secure.site.com) for admin because
   I want to use cloudflare. When I log in to [https://secure.site.com](https://secure.site.com)
   and then after login click ‘Visit Site’ to go to [http://www.site.com](http://www.site.com),
   my login status is not persistent. The admin bar does not appear at the top of
   the blog. Similarly, if I log in to [http://www.site.com/wp-admin](http://www.site.com/wp-admin),
   and then log out from [https://secure.site.com](https://secure.site.com), I remain
   logged in on the [http://www.site.com](http://www.site.com) page (the admin bar
   still appears and I can go to [http://www.site.com/wp-admin](http://www.site.com/wp-admin)
   if I don’t have ‘force ssl admin’ on.
 * Any ideas?
 * [http://wordpress.org/extend/plugins/wordpress-https/](http://wordpress.org/extend/plugins/wordpress-https/)

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

 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-log-in-cookie/#post-2381677)
 * Hey MikeDacre,
 * Currently, the plugin isn’t smart enough to decipher that you’re just using a
   subdomain rather than a different host entirely. When using a different host,
   cookies can not be set on both domains because sites can only set their own cookies.
   Perhaps that’s causing the issue. I’ll see if I can reproduce it.
 * Thanks,
    Mike
 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-log-in-cookie/#post-2381723)
 * Hey MikeDacre,
 * I added this feature in the most current version. The plugin checks to see if
   the SSL Host is a subdomain, and if so, sets cookies accordingly. I think there’s
   a bug where it won’t correctly remove the cookies upon logout, but I’ll get that
   fixed in the next version.
 * Thanks,
    Mike

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

The topic ‘[Plugin: WordPress HTTPS (SSL)] Log-in cookie’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-https_bec2c9.svg)
 * [WordPress HTTPS (SSL)](https://wordpress.org/plugins/wordpress-https/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-https/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-https/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-https/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-https/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-https/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [mvied](https://wordpress.org/support/users/mvied/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-log-in-cookie/#post-2381723)
 * Status: not resolved