> > What I would like is to redirect mydomain.com/#!/<shortname> to a router > function which: >
That's a hashbang URL. Note, in a URL including a "#", nothing after the "#" is actually sent to the server. So, you have to capture the click on the client side via Javascript, and then send an Ajax request to the server with the <shortname> value. The web2py app can then implement logic to to redirect to the appropriate function. However, the result will be returned as an Ajax response, so it won't replace the entire page with the new page -- is that what you're trying to do? Anthony