diff --git a/app/main/views/index.py b/app/main/views/index.py index 0ad44267e..974e29211 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -23,7 +23,7 @@ from notifications_utils.url_safe_token import generate_token @main.before_request def check_feature_flags(): if ( - request.path.startswith("/best-practices") + request.path.startswith("/guides/best-practices") and not current_app.config.get("FEATURE_BEST_PRACTICES_ENABLED", False) ): abort(404)