nindo's avatar
Level 17

Custom Valet driver no longer works with Herd

Hello,

I recently switched from Valet to Herd. Everything is working fine except for a custom Valet driver that fixes URLs for WordPress multisite installations. https://github.com/Objectivco/WordPressMultisiteSubdirectoryValetDriver

Does Herd support Valet drivers? If so, in which directory are they stored?

0 likes
7 replies
nindo's avatar
Level 17

@vadim_podlevsky Not yet. I just switch to valet when I need to work on a multisite Wordpress installation since I have it installed alongside Herd, you just stop Herd and start Valet and it works without a problem.

JonasCamitzRyden's avatar

If anyone is wondering about HERD and WP Multisite, it works great with HERD version 1.5.0 with example.com / sub.example.com. No custom drivers are needed.

Just tested this as I unfortunately have to fix a WP multisite on behalf of a customer

nindo's avatar
Level 17

@JonasBrandit Still not working for me. I tried both versions 1.5.0 and 1.6.0. The main site works but when you try to access one of the other sites it can't find the assets (css, js...) I should also mention that I'm using the directory structure not subdomains.

1 like
jeksn's avatar

@JonasBrandit Thanks for posting this! I've been forced to keep Local installed just to have a couple multisites running locally. Seems to work fine so I can migrate them over and not have to jump between them and stop and start Herd and Local all the time.

1 like
knilob's avatar

@nindo Did you ever get the WP Multisite Subdirectory driver working? If not, I was able to get it working in my installation of Herd with a few tweaks to the Objectivco driver code.

There's actually a PR in the issues list from July 8 that updates the driver code to work with Valet 4. The changes made in that PR are the same changes I made on my own copy of the driver to get it working with Herd.

Please or to participate in this conversation.