I need to serve up two websites under two sub-domains. I do not have access to the top-level domain, so WordPress has been installed in a sub-domain. Each site will use the exact same content from the database, except I will use PHP to change some of the overall look and feel.
I need the sites to be totally separate from each other when users are downloading assets, clicking URLs, running searches, etc. From an /wp-admin perspective, it makes no difference.
For example, here are two sub-domains:
All posts will be displayed on both sites, but Apple users will never see anything about Microsoft and vice versa. The HTTP requests for the assets would need to be either http://microsoft.myblog.com/images/ or http://apple.myblog.com/images/ or just /images/.
Can someone give me instructions on how to set up the two sub-domains to do what I described using the domain mapping plug-in?
If there’s anyway to make it so none of the HTML has a domain hard coded, then I won’t need to use the plug-in, but this doesn’t seem possible to do.
- The topic ‘Same database content using two different subdomains’ is closed to new replies.