Currently I have a rule that doesn’t seem to work and I am wondering if I can use html anchors # to redirect users
<match url="^article\/article\.aspx$" />
<action type="Redirect" url="http://www.abc.com" />
<conditions>
<add input="{QUERY_STRING}" pattern="#24" />
</conditions>
Hash Tags in the URL serve a special purpose to the client browser, not to the server. That means that a browser will NOT actually send anything after a ‘#’ character to the server. So: if you request
http://someurl.com/index.aspx#something, the server only seeshttp://someurl.com/index.aspx