Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am using Wordpress 3.6

My setup is 3 separate wordpress installations on the same server: www.example.com, secured.example.com, my.example.com

  1. All 3 domains use WP-Orphanage Extended plugin so user capabilities are copied over all sites automatically, i also used the shared user table trick link: wordpress.stackexchange.com/questions/85489/whats-the-best-way-to-share-user-data-across-multiple-wordpress-websites

  2. To keep the users from having to sign in for each site I used this basic cookie sharing code. link: wordpress.stackexchange.com/questions/15335/how-to-transition-cookies-from-subdomain-domain-com-to-domain-com-with-minimal

Everything works perfect except that since i am using ssl on secured.example.com, when i go to dashboard/wp-admin on example.com I get signed out of all sites and redirected to www.example.com/wp-login.php?redirect_to=http%3A%2F%2Fwww.example.com%2Fwp-admin%2F&reauth=1. Same thing happens with my.example.com. I can log back in but searching for a solution to prevent this from happening.

I used this for ssl on secured.example.com when i first noticed this logged out problem. define('FORCE_SSL_LOGIN', true); and define('FORCE_SSL_ADMIN', true); . I removed define('FORCE_SSL_ADMIN', true); and was able to access all my dashboards without getting signed out.

My goal is to have the entire secured site ssl protected, not just login and admin areas and be able to access the dasboard on my other sites without getting logged out. I tried httaccess by redirecting secured site to https:// and a few ssl plugins found on wordpress.org and other sites via google search. They all lead to this same logged out problem.

Can anyone suggest a solution for this?

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.