I have two different rewrite rules.
<rule name="Venue" stopProcessing="true">
<match url="Venue/([_0-9a-z-(-)-,-]+)/([_0-9a-z-(-)-,-]+)" />
<action type="Rewrite" url="Main.asp?Type=Venue&VenueID={R:1}&VName={R:2}" appendQueryString="true" />
</rule>
<rule name="Venue" stopProcessing="true">
<match url="Venue/([_0-9a-z-(-)-,-]+)/([_0-9a-z-(-)-,-]+)/([_0-9a-z-(-)-,-]+)" />
<action type="Rewrite" url="Main.asp?Type=Venue&VenueID={R:1}&VName={R:2}&ConcertID={R:3}" appendQueryString="true" />
</rule>
Is there a way to combine both rules into a single rule using <conditions>?
So when you go to either URL.
/Venue/37/The_Omni (You go to its page.)
/Venue/37/The_Omni/ConcertID/1 (You go to its page.)
(OR) Will I have to settle with two rules but with different names?
Literally regular expression rules allow you to write,
You might try and see if IIS URL Rewrite module supports such expressions.