Catch 404 by bad url for categories