0

This question already has an answer here:

My question is something different. I have several Wordpress Installations in my localhost:

localhost/1
localhost/2
localhost/3
... etc... 

I want them all to use one wordpress installation folder (except wp-content - I want each site had its own wp-content).

I dont want to use Multi-Site feature (because each 1,2 and etc sites are separate Multi-site installations themselves). So, what should I do?

I want to use only 3 files in each subdirectory, i.e.

localhost/1/index.php
localhost/1/.htaccess
localhost/1/wp-content

and they use one predefined WP-CORE folder, from i.e.

localhost/wpcore/wp-admin
localhost/wpcore/wp-includes
localhost/wpcore/wp-login.php
...etc..

how to achieve that? Maybe some htaccess and wp-config tricks will be needed?

marked as duplicate by fuxia Jan 7 '17 at 15:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • You can use symbolic links but you have to make sure they all have the right permissions to read and write to the shared folders – Tunji Jan 7 '17 at 15:13
  • You could use Multisite and add the WP Multi Network plugin, which (apparently) allows for a network of networks. – Pat J Jan 7 '17 at 15:24
  • @TunjiAyoola sorry, i cant understand that how to do.. – T.Todua Jan 7 '17 at 15:33
  • @PatJ I dont know how that plugin does, but I'm sure, that uses same database, wp-content and etc.. I need separate installations ... – T.Todua Jan 7 '17 at 15:34
  • 1
    Using the same installation to develop separate sites is a very, very bad idea. How do you test upgrades? Use Vagrant, Docker or something similar instead. – fuxia Jan 7 '17 at 15:40

Browse other questions tagged or ask your own question.