My site is Sage11 and Woocommerce. It needs to ‘require’ users to be logged in, so I’m thinking that the best solution would be for me to just redirect any non-logged-in users to my-account which is part of Woo, that way I can control all the templating for the various login/register/forgotten password pages.
How can I achieve this with Sage11? Would I need to use routing and set up some middleware to check if user is logged in?