For many reasons, I cannot use the Wordpress network solution. . I will need to support multiple Wordpress sites on the same server, and I would like to share it between them.
I would like to achieve:
- for each domain, the root folder should contain only the wp-config.php file and the wp-content folder
- The wordpress kernel should be shared between several installations.
So far I have tried:
- to find a solution involving using symbolic links, but the
__FILE__ constant gives me headaches ( more ) - to find a solution that includes mount points on a loopback device, but I had a lot of problems besides solutions.
Is there any way, maybe some apache module? will this help me achieve this? I would like to leave the wordpress core untouched if possible (but a few basic changes are welcome).
Another NTH function will have some routing functions, such as: Apache checks if the requested file exists in the root DOMAIN document, and if not, it looks at the Wordpress SHARED code base.
source share