restyling, 404 and template rewrites