I'm working on a site where a user registers and has the ability to create various custom post types (let's call them tournaments for simplicity although it's slightly more complicated than just one CPT) that other site visitors can view. The user has what amounts to some front end dashboard pages to manage their various tournaments. They don't have access to the WP backend. Users have account and profile pages in addition to that and everything else you would typically see on a membership style site.
I don't currently have SSL implemented but would like to. I was playing around with it the other day on a test site and came across something I can't figure out the best way to handle. I had planned on making all login/admin/account/dashboard pages served via HTTPS and keeping the "tournament" front end pages as well as blog articles and such served via HTTP. However, when I do that and I am logged in (via HTTPS), and go to one of the tournament pages...it logs me out or at least shows me as logged out on that page. This makes sense given that I'm logged into the HTTPS side, but I don't really know how I should handle this. I have different menus for logged in vs not and I obviously don't want it to randomly log out users just because they go to a page I'm not forcing SSL on. The vast majority of site visitors will not have accounts and I don't have a need now to secure all the pages outside of the aforementioned account pages.
My options as I see them:
- Force SSL on the entire site without exception. I don't think I have a particular problem with this, if this is the accepted practice now. It sounds like there may be some pain down the road however with caching or CDN implementations.
- Force SSL for any logged in user on every page they visit. Non-logged in visitors would get http only.
- Am I missing something else? I want to force SSL only on the account and login pages but it wasn't a friendly experience the way it worked. It seems like this would a common scenario, hopefully I'm describing it well enough. I've read every blog post out there on SSL for Wordpress and am aware of the simple one liners to force SSL on login and admin...and can make any htaccess changes and functions to do what I need.