For many reasons I can't use the wordpress network solution.. I will have to maintain multiple wordpress sites on the same server and I'd like to share the core between them.
What I'd like to achieve is:
- for each domain, the root folder should contain only the wp-config.php file and the wp-content folder
- The wordpress core should be shared between multiple installation.
So far I tried:
- to find a solution involving the usage of symlinks but the
__FILE__
constant is giving me headaches ( more info ) - to find a solution involving mountpoints on a loopback device but I ended up with many more troubles than solutions.
Is there any way, maybe some apache module ? that would help me to achieve this ? I'd like to leave the wordpress core untouched if possible ( but a couple of core changes are welcome ).
Another NTH Feature would be having some routing functionality like: Apache checks if the requested file exists in the DOMAIN document root and, if not, it looks to the SHARED wordpress codebase.