Domain specific logic for URLs
I am trying to build a Multisite BP site with Multidomains. That is, I have a main domain for the entire installation, and several other user domains for individual sites/members. Individual sites/users can choose one of those domains for their account.
As a user navigates around the site, especially the BP components, I want the URL for their account, and the account of others to reflect the user’s domain choice.
How would I use the MULTIPLE_DOMAIN_DOMAIN and MULTIPLE_DOMAIN_ORIGINAL_DOMAIN constants such that URL for each user’s profile, pages, posts etc reflect that user’s choice?
Also, I want the main domain to be concealed from the users. So when they are signed on, all the BP components’ URLs are prepended with their (the user’s) domain choice and not the main domain name.
Is there a way to implement that?
- You must be logged in to reply to this topic.