And me thinking that would make /wp/ folder explicit in url. That solved it correctly. Thanks @austin
EDIT: That actually breaks wp-admin unfortunatelly. Any other idea @austin? I just want to not show /wp/ in my url. My production server has nginx and locally is apache. Both gives the same error.
I know it’s not ideal, but working in OSX with nginx seems a lot of trouble too. The better way here would be VMing the whole thing (Vagrant, I’m going to try soon) but since I don’t have this choice right now, this is what I can do.
I know I won’t be using any .htaccess stuff for now. This nginx setup is what I’m using, almost exactly.
Having said that, folder /wp/wp-admin gives me 404. You can see it live at http://beta.combomultinet.com (the difference here is that .env is, of course, http://beta.combomultinet.com in both wp_home and wp_siteurl). Like I said, nginx setup is almost identical (with some extras about 404).
EDIT: I’m sorry @austin, your answer came after I sent this reply. Your setup works for nginx successfully. Is there any case in apache? I’ll try 30min of this, if not I’m gonna brew install nginx here too.
Definitely recommend using bedrock-ansible for local dev. It’s incredibly easy. Way easier than messing with OSX. Those configs I posted come from it anyway.
I’ve just installed nginx here, just for my sanity. It’s working, but I’m going to check ansible too. The idea of running a VM on top of so much optimization seems so wrong but hell, the sanity of same environments pays it off.