I know there are dozens of posts on this, but (I'm embarassed to say this) I'm having a rough time following them.
My goal here is to have
/resources/audience/teachers or event
I have 2 custom taxonomies on attachments - Types and Audiences. I then have a page titled Resources which is going to house all of the attachments within these categories. If an audience of type is specified, I will only display that term's attachments.
I've tried using the following this within an
add_rewrite_rule( 'resources/([^/]+)/?$', 'index.php?pagename=resources&audience=$matches', 'top' );
With no success. I'm sure it's a no-brainer.