I'm moving my WordPress multisite from one server to another, and have decided to use a WAMP (Uniserver Zero) for the new setup.
I'm having one issue that doesn't occur on the old setup, only the new one:
In the header of my theme I have a Login link, or 'Welcome, [name with link to profile] [logout link]' if the user has already logged in.
When logging into Wordpress, I'm taken to the homepage and I notice it still says 'login' in the header, rather than my name and profile/logout links. If I change the url of any page to https instead of http, the name and profile/logout links appear. So for some reason Wordpress doesn't think I'm logged in when viewing in http, only when https.
I'm not sure if this is something in my Wordpress setup or apache or php.
Here are a few details from phpinfo that might help:
- Server Root C:/UniServerZ/core/apache2
- DOCUMENT_ROOT C:/UniServerZ/www/wordpress
- US_ROOTF_SSL C:/UniServerZ/www
- US_ROOTF_WWW C:/UniServerZ/www
EDIT It looks like this is an issue since Wordpress 4.0. The old setup was 3.8 https://wordpress.org/support/topic/http-and-https-differences-for-function-is_user_logged_in-in-wordpress-40