Directories and files outside of WordPress

Is it possible to provision the server to allow access to files and directories outside of WordPress?

For example, say I have a contact form that isn’t part of WordPress and I want to allow access via which should go to index.php located in /srv/www/

I’ve had a play around with nginx rewrites but can’t quite get this to work. Any help would be appreciated.



Try putting it inside /web/ folder that should work. So /current/web/contact/

1 Like