I am having a major issue that the hosting company Kinsta (running Nginx and php7) seem not to be able to handle.
We have two sites - muddycreatures.com (main) and cubscartel.com (sub) and after the move to Kinsta WooCommerce customers can't login/logout from frontend. We have this plugin installed: https://wordpress.org/plugins/wordpress-mu-domain-mapping/
I will try to explain where the issue is:
On Kinsta server (Nginx) e.g. live site: https://www.cubscartel.com
- If already logged in from wp-admin I cannot login here: https://cubscartel.com/my-account/ as it never shows login screen as I am not logged out and can't log out.
- When trying to log out I am thrown to first one page (https://cubscartel.com/wp-login.php?action=logout&redirect_to=https%3A%2F%2Fcubscartel.com%2Fmy-account%2F&_wpnonce=11ace8980f) where I have to confirm the logout, and then to this default post page on main site: https://muddycreatures.com/?dm=fdab99c78a45afab3ed39ffc91de0889&action=logout&blogid=2&k=e93ca2e0febeecf6b67a1b313015177c&t=1672041252 which looks horrible.
On dev server (Apache) e.g. cubscartel.muddycreatures.greatsimple.com
- I can easily login.
- I can log out and when logged out I am directed to the my-account login screen.