diff --git a/cdhweb/urls.py b/cdhweb/urls.py index c8b13168..48ae4dea 100644 --- a/cdhweb/urls.py +++ b/cdhweb/urls.py @@ -70,7 +70,7 @@ # wagtail paths path("cms/", include(wagtailadmin_urls)), path("documents/", include(wagtaildocs_urls)), - re_path(r"updates/(?P\d{4})/(?P\d{2})/(?P\d{2})/(?P[\w-]+)", BlogPostRedirectView.as_view(), name='updates-redirect'), + re_path(r"updates/(?P\d{4})/(?P\d{2})/(?P\d{2})/(?P[\w-]+)", BlogPostRedirectView.as_view(), name='updates-redirect-with-date'), path("updates//", BlogPostRedirectView.as_view(), name='updates-redirect'), ]