send a 301 to the full url when a bad url is requested

- also attempt to give slightly better error messages