QuestionsWhat’s the best way to build the same membership portal access across multiple websites.
Amir Sharapov asked 8 months ago

Hello! I was rather curious as to how I can create multiple websites in the same domain using subdomains and have the same membership login portal that links them all together.
For example, I create a website on http://www.domain.com and four other websites on separate subdomains, [courses.domain.com], [portal.domain.com], [community.domain.com] and [blog.domain.com].
To sum up what each website does…

  • courses.domain.com – a collection of courses (similar to a course marketplace) and course bundles that the visitor can purchase which will be automatically added to his membership account.
  • blog.domain.com – a website that is straight up for blogging purposes (with multiple admins and collaborators) that will work on creating blog posts for different categories and sub-categories. The visitor has the option to interact with these blog posts… perhaps saving it to a collection that he can access within his membership account, or like it and access all the liked posts from his membership account. (I know there's a lot of development)
  • community.domain.com – a forum dashboard where the visitor / user can take part in discussions related to his niche.
  • portal.domain.com – a dashboard/portal website for the visitor to log into and access all his enrolled courses, interacted posts, shared posts, threads he's taken part in the forums/community, etc.

(Now… by this point, you may be thinking why do all this and how… that's what I'll get into)
As a visitor to the http://www.domain.com main page, I have to option to click on the Login tab in the header menu which takes me to the portal.domain.com to login into my account. (There are also tabs in the header menu that will take the visitor to the community.domain.com and courses.domain.com and so on and so forth, but as the visitor, I don't touch those. I just go to my portal).
Once logged in, I can access courses/programs that I have enrolled in from the website (courses.domain.com), access to the interacted posts and discussions from the websites (community.domain.com) and (blog.domain.com). I will also have access to other things, such as monthly giveaways (only found within this portal dashboard) and discount codes to other software or businesses and courses.
Now the how does the user get access to all these and how does the portal.domain.com know that the user has interacted with these posts…?
Simple-ish. Once the user logs into domain.com, he will also be logged into all the subdomain websites as well, to where the portal.domain.com will track the activity done on these subdomain websites.
Thank you for reading up to this point. Any ideas as to whether this is possible with WordPress (perhaps WordPress multisite network) or if it's possible at all with ANY CMS…?
Thank you very much and please feel free to reach out to me at amirsharapov18@gmail.com.

1 Answers
Adam @ WPCrafter Staff answered 8 months ago

It's not an easy thing to accomplish. There are some solutions for pushing and pulling users from 1 WordPress website to another.
It involves modifying the way the user tables work in the WordPress databases. It's something that you would want to get some dev help to implement.
There is also a plugin at WPMUDEV but I have never had much success with their plugins.
Here is the article https://kinsta.com/blog/share-logins-wordpress/

Your Answer
13 + 17 =

Accepted file types: png, jpg, pdf

Add another file