roots / multisite-url-fixer

Fixes WordPress issues with home and site URL on multisite when using Bedrock
MIT License
59 stars 19 forks source link

Multisite subdir install #9

Open michaelw85 opened 3 years ago

michaelw85 commented 3 years ago

Summary

Add support for multisite installs with sub dir install instead of subdomain. e.g.

Motivation

This issue seems to have quite some history and seems to be fixable using (Nginx) rewrite rules looking at https://discourse.roots.io/t/working-subdirectory-multisite-nginx-rules/1503

I'm probably not the only one that had to spend quite some time trying to figure out how to get this working with Bedrock. Having this within the multisite URL fixer (if possible) would save quite some headache.

Additional context

This feels more like a bug to me than a feature request. Since it's fixable with rewrite rules I thought it to be an enhancement. With the rewrite rules in place, I now wonder if this plugin is needed at all.