It seems it is a Cookies issue. Setting define('COOKIE_DOMAIN', '');
and define('COOKIE_DOMAIN', false);
seems to work fine, but users had old cookies stored as well – so WordPress was seeing multiple login credentials in the cookies and redirecting to wp-login.php?reauth=1, forcing a new login.
I’m trying to re-set the cookies to expire for them, but since it’s a slightly different domain string I’m not able to? Not sure why..
So the solution seems to be, get users to clear their local cookies. Now I’m also using a maybe more clearly documented define('COOKIE_DOMAIN', '.example.com');
.
Related Posts:
- How to share user data across multiple WordPress websites?
- How do I create a custom role capability?
- Prevent network activation of plugin
- Uninstall script for a plugin in Multisite
- Changing Plugin Load Order
- Can someone explain what wp_session_tokens are, and what are they used for?
- What is wrong with using add_option with Multisite instead of add_blog_option in a plugin
- Init action hook running late after PayPal’s return url?
- How to Get a List of Sub Blogs without Using get_blog_list()?
- How to check WordPress website username and password is correct
- Log in from one wordpress website to another wordpress website
- Cron firing my function everytime wp-admin is visited
- Problems after wp_set_password() containing an apostrophe
- Error getting correct blog_id on MU from functions.php
- How do I make specific plugin functionality apply to different sites in a network?
- WordPress multisite apply different options over each site from same plugin
- Filters ‘request’ and ‘parse_query’ not firing in sites.php nor link-manager.php
- Two-step login process – Is it possible?
- Multisite, sharing content by URL
- Only allow plugin to be activated on root site of multisite
- How to use wp_set_password in a plugin?
- WordPress Media mime type filter problem 4.0
- How do I approach removing menu items on the fly based on settings in my plugin?
- What is the best way to overwrite /wp-admin/ms-delete-site.php
- Where should I store global data for my multi-site WordPress plugin?
- unable to stop loop when using wp_insert_post with publish_post hook
- Customize multisite site creation with user data
- Multisite plugin development and wp_enqueue_script
- Plugin Uninstall and Deactivate via Options Menu
- how to activate plugin network-wide, and save setting across sites
- Sharing a common set of image files for media library, across all sites within multisite
- What is difference between blog id and site id?
- How to create a Tools menu on the Network Admin dashboard from a plugin
- Is there any way to check for user login and send him to login?
- Override the default Add/Edit site forms of the Network Panel in custom plugin
- How to set “Site Address (URL)” programmatically on WP multisite?
- Proper way to pass credentials in a custom login form to avoid “headers already sent”
- How to associate an existing user to a site in a multisite setup programmatically
- WordPress Multisite with Azure B2C redirect_urls after Login
- External Authentication, session_tokens not destroyed on logout
- Verify if user is wordpress logged in from another app since wordpress 4.0
- How To Change Post Author Default?
- How to customize login process
- Adding (blog-specific) links to “My Sites” admin page
- Plugin menu addition in multisite
- wp_insert_user() function password never match
- Does wp_login only trigger before an user signs in into the admin panel?
- Logout users upon login, based on caps/role?
- What should happen when a WordPress Plugin is activated across the network (Network Wide Activation)
- Multiple Plugin best practice in Multisite
- Is it possible to make sure that only my plugins output is shown to the enduser?
- Password field is empty when using wp_signon();
- Plugin Development for registered users
- Selectively update themes in WordPress multisite
- Problem with context in multisite – getting main site data in every blog (get_pages())
- Enqueue script globally
- how to invoke wordpress API from other existing PHP system
- register_activation_hook on multisite
- WordPress multisite,use same cookies across all website?
- WP: Search and replace in DB programmatically
- How do I validate extra pin field on my WordPress login form page?
- How to redirect home page to another page after login for all user?
- How to get current logged-in user details in multisite?
- add_action wp_ajax_ not loading in plugin file WP Network
- Clean way to initialize plugin in newly-added site when plugin has been network activated?
- Is there anything special required to make a plugin work in a multisite environment?
- How to edit wp-signup.php content using plugin
- Allowing duplicating users with same user_login and user_email
- How to Login a User inside a Plugin and Redirect to page?
- Using custom IDP with WP
- Hiding the WordPress login and password fields from login page
- How do I ensure I can loop through every enqueued script and CSS?
- Custom Plugin activation error in Multisite
- Replace “content-area” of themes 404 page with plugin?
- redirect_to how to make it simply work with get parameter or similar?
- Multisite and the JSON REST API: How to?
- Testing Plugins for Multisite
- Same header/footer in Admin, across all network sites in multisite
- Multiple Users Logged In Causing Incorrect Account Returned
- Change Admin menu placement using hooks
- Get user logged in status from within a plugin. $current_user not defined
- Need edit profile link in the menu for logged in users
- Create a Custom Login System in WordPress [closed]
- how can I insert a link on login page
- Force remove parent theme CSS/JS and call them from Child theme
- user can login from single account detail from multiple locations(computer) at the same time [closed]
- product-attribute-slug-is-too-long-28-characters-max
- Confusion on WP Nonce usage in my Plugin
- Add media and attach images to pages
- Show comments fields in two columns
- How to convert this cURL to wp_remote_get?
- WordPress setting with select – where is my mistake?
- Updating Woocommerce Settings API when WordPress Settings API saved and vise versa
- How to give a download link to a .csv file from the custom plugin?
- What’s wrong with this post__not_in argument?
- Custom Login Page — wp_signon Headers Already Sent?
- How to create wordpress media library UI on plugin page
- Override category archive page title (not the head title)
- get_queried_object_id combined with wp_redirect gets wrong id
- How to use get_pages( ) correctly with ‘child_of’ to replace page with child page