WordPress.org

Ready to get started?Download WordPress

Forums

WordPress HTTPS (SSL)
Log-in cookie (3 posts)

  1. MikeDacre
    Member
    Posted 2 years ago #

    I am having issues with logging in.

    I need to use https://secure.site.com for admin because I want to use cloudflare. When I log in to https://secure.site.com and then after login click 'Visit Site' to go to 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, and then log out from https://secure.site.com, I remain logged in on the http://www.site.com page (the admin bar still appears and I can go to http://www.site.com/wp-admin if I don't have 'force ssl admin' on.

    Any ideas?

    http://wordpress.org/extend/plugins/wordpress-https/

  2. Mvied
    Member
    Plugin Author

    Posted 2 years ago #

    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

  3. Mvied
    Member
    Plugin Author

    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic