Share one login cookie between different mapped domains sharing one WP install

I have WP single install that has some pages and these pages have seperate domains mapped to them. So in the end it works like:

primary-domain.com/page1 is mapped and available under page1-domain.com
primary-domain.com/page2 is mapped and available under page2-domain.com
…and so on

Now I’d like to make it possible that a user which has logged in to the primary-domain.com can also be logged in when viewing page1-domain.com or page2-domain.com.

I have found great advice here how to handle this on separate WP installs (as subdomains) by defining the COOKIEHASH in wp-config.php on the subdomain WP installs. But how to achive this if the WP install is the same and only domains are different?

Sorry, my coding skills are poor so I’d appreciate some friendly help 🙂 Thx.

Xin chào các bạn và quý Thầy Cô. Hãy nhập từ khóa mình muốn vào ô tìm kiếm trên Website để tìm kiếm mọi thứ hoặc trên google các bạn hãy nhập từ khóa + dethihsg247.com để tìm kiếm các bài viết của chúng tôi nhé.
  • Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
  • Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
  • Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.

Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com