an approach to URL handling which is entirely wrong