Laravel Herd - markhowellsmead/helpers GitHub Wiki

WordPress

Multisite

If the assets and content files (e.g. images and videos) aren't loading then check that they are using the correct paths. This issue commonly arises when using Herd, for which an additional config is required when running in subfolder mode.

  1. Add this driver to enable multisite in subfolder mode, by putting it in the mu-plugins folder.
  2. Add define('WP_CONTENT_URL', 'https://******.test/wp-content'); to wp-config.php (with the correct domain).

Errors

/usr/bin/env: mysql: No such file or directory

Make sure that the following line (or equivalent) is in your .bash_profile or .zprofile.

export PATH="/Users/Shared/Herd/services/mysql/8.0.36/bin:$PATH"