Bedrock Multisite URL


I’ve got a problem with using the Bedrock project on a multisite install. Because the WordPress files are inside the /wp/ it will break when trying to navigate to the network sites dashboard pages.

For example the toolbar link to Network sites will point to DOMAIN/wp-admin/network/ when I need this to go to DOMAIN/wp/wp-admin/network/.

At the moment the fix I’m doing is with .htaccess to prefix this with /wp/

RewriteRule ^(wp-(content|admin|includes).*) wp/$1 [L]

Is there another way I should be doing this?

If not can anyone help with how I would convert this to an nginx rewrite rule?


Check out the rules from our bedrock-ansible project:

1 Like

Thanks I’ll try it out.