add seo and 404 directive