• Hey Guys,

    I am a web developer primarily using wordpress for client sites. My team has figured out awesome ways to automate and improve nearly every piece of WordPress for our client configurations but I have to come clean – I’ve found an archilles heel. Doing multisite development locally has been painful because I cannot figure out an elegant way to get multisite running locally to build things out against client SQL. The big issue I am having is that there is no way to tell WordPress that my dev domains for sites will be different than my production domains. My hacks have included piles of old plugins that transform site_url and home_url for each site, find-replacing inside of SQL, and changing my hostfile to match the production host urls of sites. All of these options really suck and don’t match the positive experiences I’ve had developing other aspects of WordPress.

    My big feature request is simple – is it possible each site could accept an array of hostnames to match against rather than just one? I really just want to be able to tell WordPress my production and local URLs for a given site and just be done with it, not needing any weird hacks (other than pointing hostnames towards WP folder) to get a multisite instance running locally.

    Thank you.

The topic ‘Accept multiple hostnames for a multisite host sans plugin’ is closed to new replies.