'Member when I said I didn't immediately grasp Landing Kit for WordPress's use?
So, turns out there's a free plugin that basically does just that, minus the page template goodies, I guess. Also, it's kind of poorly written. So I dumbed it down even more, cleaned things up, a lot—actually rewrote the whole thing from scratch. Wanted to now add on-the-fly theme switching, but ... multisite makes so much more sense if you're going to go the full custom landing page route.
Now, why stick to just one theme then, and only have custom domains pointing to single pages within essentially the same layout? Because for writers or publishers or recording artists that probably still makes sense. Marketing agencies? Not so much, me thinks.
Multidomain mapping, or so, it's called, and it uses a bit of a trick, in that it overrides `$_SERVER['REQUEST_URI']` based on `$_SERVER['HTTP_HOST']`. It stores the "map" in the options table, too, and not in posts' custom fields and such. (Landing Kit, I'm guessing, does things differently.) This simplicity is so cool.
Not too shabby.
(Why do I even care? Even know this? I'm a mechanical engineer, dammit.)
(How 'bout I sold this for €49/year rather than hand it out for free? Ha!)
@jan nothing holds you from doing so 😉
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!