WordPress.org

Ready to get started?Download WordPress

Forums

WordPress HTTPS (SSL)
unable to use login when SSL on a.domain.com but main site on b.doma (3 posts)

  1. jameztcc
    Member
    Posted 2 years ago #

    Using V2.0 plugin + theme-my-login (if this is of any issue)

    SSL site is a.domain.com, the main WP site is on b.domain.com .
    After login, the cookie is set for domain=a.domain.com so when I browse anywhere on b.domain.com, the user is not logged in.

    Is there any config error? Or... ...
    How can I force the cookie in this case to .domain.com to allow any a/b.domain.com to keep the user authenticated?

    thanks,
    James Tan

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

  2. Mvied
    Member
    Plugin Author

    Posted 2 years ago #

    Hey James,

    The cookies are being set specifically for a.domain.com. In order to have the cookies work for multiple sub-domains, the cookie's host would have to be set to ".domain.com". Right now, the plugin has no way to tell whether or not the SSL Host is simply a sub-domain of the same domain or not. It's something I'm looking into adding.

    If you enable Force SSL Admin, all links will changed to HTTPS so you'll stay logged in on all of you public pages.

    Thanks,
    Mike

  3. Mvied
    Member
    Plugin Author

    Posted 2 years ago #

    I just pushed out version 2.0.1. Let me know if it fixes your issue.

    Thanks,
    Mike

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic