Today, I’ve posted a working solution for exactly the same problem. You can see it here: How to share WordPress session and cookies between domain and subdomain?. I use this method on several of my own websites.
Related Posts:
- How to share cookies and sessions between domain and subdomain?
- Hosting a WordPress blog as a sub folder from a S3 website
- Load template for specific subdomain
- Serve HTTPS requests from subdomain
- Cookie settings for session across WPML subdomains using custom AJAX login
- Using subdomain m.website.com for mobile theme?
- How can i run the same WordPress install on multiple subdomains?
- Classic Conundrum: How do I map a Sub-Domain in WordPress? [closed]
- Subdomain login problems
- General Settings for WordPress Subdomain
- Moving a blog from a subdomain to a folder
- How to retrieve TLD domain for the current website?
- How to serve assets files (js, css, images) on a subdomain
- Moving WP installation form subdomain
- Will WordPress installed on a whole domain interfere with other files in a subdomain or subfolder?
- Network of subdomains [closed]
- Moving website from expired domain to an active subdomain
- Change the subdomain?
- How I can share cookies from my dimain to subdomain?
- Redefine cookie domain for subdomains
- Login problems on multisite installation with different domains
- Two domain for one site not working in mobile
- WordPress subdomain mapping/”archiving” [duplicate]
- WordPress CDN Subdomain URL not accessible to the public
- How do I (re)design my corporate website in WordPress without downtime?
- change wordpress upload url to subdomain on xampp local
- Can I have a WordPress site stored on a subdomain of another website owned by me?
- Theme switch when accessed from sub domain
- Subdomains permalinks issues
- Relative Root Url For Sub domain name
- 2 WordPress install with same database
- How to make each category a subsite?
- Authorize subdomain to access and read user and admin cookies
- How to Set up a Wildcard Subdomain for all WordPress Posts?
- WordPress cloned but frontend still displays http://old_wordpress_site
- How to load subdirectory mobile theme and redirect mobile devices to subfolder?
- Subdirectory mapping for a WordPress website
- WordPress deleting subdomain from the URL
- How can I move the subdomain to the root domain?
- Can I edit domain settings if I didn’t create the site?
- Issue while installing wordpress in subdirectory due to SSL [closed]
- Add subdomain for Vue.js application
- Question of the subdomain
- Single sign on to sub-sites in Multisite Network
- Can I use WP’s built in domain mapping with WP installed on a sub-domain?
- Create a new hyperlink to wordpress blog
- Changing blog domain name
- Single WordPress Installation with Sub domains
- Why is my subdomain returning a 403 status?
- Serve HTTPS requests from subdomain
- WordPress site with subdomain without multisite installation
- Share login status across subdomains without network
- I have a question about the name of my blog [closed]
- Cookies in Multisite network where sites have their own domain name?
- Hide sub domain created for local CDN
- Change author URL from /author/xyz to a subdomain xyz.domain.com for each new registered users
- Development to production, how to move a development site from http + dev.example.com to a production site https + example.com?
- Migrating WordPress site from subdomain to subdirectory
- PHP – setcookie(); not working
- Modifying the way WP sets cookies
- Htaccess for Wordpess set on single subdomain
- Exclude content from w3 total cache [closed]
- Check if user already visited this post today
- Security in WordPress plugin development
- WordPress Redirect based on the prescence of a cookie
- Sub-domain or 2nd, temporary different domain?
- Changing Multisite URL after the subsite has been in use
- How to get login data (session) outside WordPress?
- Popup Cookie WordPress select language and section (Elementor)
- Remove Cookies From WordPress Core
- Woocommerce Ajax Add cart not working
- Cookie only detected when visitor is logged in
- How does WordPress remember which editor is being used?
- Force WordPress to load from site’s hostname
- Showcase elementor templates
- How to fix blocked cookies error that doesn’t let me log into wp-admin?
- Block google maps from loading until user agrees to cookies with Elementor
- Logging into sandbox subdomain WP
- Delete cookie when changing url (when navigating away from specific page of website)
- Some admin pages redirecting to front page on save
- How to configure sub-domain for images on Debian Apache VPS?
- How to host 2 subdomains as lookalike destinations under one master domain?
- How to run a function in every page, every device
- How to redirect the frontend of a WordPress site (only)?
- Permalinks do not include www subdomain
- the category city made as a subdomain
- Multisite cookies are being shared across domains unwanted
- Setting a Custom Cookie in WordPress only for Logged In Customer/User (non-admin)
- Authentication between two different sites using the WordPress login cookie
- How to convert multisite subdomain from http to https
- How to use slug with subdomain?
- Capture and display users name
- Creating another wordpress site as sub-domain of a wordpress site
- How To Call WP_Query From A Subdomain?
- Use WP_Query Data In Cookie
- Opening protected page with cookie?
- Language switcher for subdomains
- Multisite: Run a subdomain install from a directory install
- WordPress Plugin: Where should I put my cookies for cURL?
- How to be GDPR compliant by loading plugins?