I am developing a site in Wordpress that offers functionality and content to companies. Each company will have hundreds of users. All users of all companies get the same content. However, the main header changes (it needs to include the companies own logo). They also will have their own sub-domain, at least fo the login page, preferably for all pages. The content will change regularly, so I would prefer having only one copy of that.
So the requirements are:
- Same content for all users at same relative url
- Different header based on group of current user
- Different base url per group
- forwarding of user to the correct base url if they login under a wrong one
What is the best way to implement this?
- Straight WP with a sub-theme that deals with the header. Mod-rewrite to deal with the urls
- WP-MultiSite (how would the same content under different base urls work here?)
- Several copies of the site and somehow sync the content (how would I do the sync?)
- Use a different CMS
Which of these is the most future proof way to go, assuming I might have to deal with thousands of companies each with hundreds to thousands of users.
Also, If there is an easier way because I missed something in my research like an existing plugin, that would be great too.
Thanks for your help.