Howdy.
I run a legislative website, and one of my client made a cool suggestions. He wants to be able to just put the bill number he is insterest in on the URL. like so. www.legislature.mystate.gov/4001 (for bill 4001). So I'm thinking easy peezy!
Just have the errorhandling page I already redirect to using a web.config file, and look for a number. If
it's a number, process it as a bill number for the current session. But of course, it's not so easy.
When I put in www.legislature.mystate.gov/4001.aspx, it redirects to the errorhandling page. When I put in www.legislature.mystate.gov/4001
(note there is no aspx) it sends up a very ugly 404 page. I know it's probably in some easy setting, so how do I get it to work like I want? Also, I'm super open to better ideas.
Thanks!