3 Nov
2022
3 Nov
'22
2:51 p.m.
On 11/3/22 18:30, Andrew Hodgson wrote:
I think this is a problem with the new urls.py I downloaded, what is the best way to restore the old behaviour of having https://lists.hodgsonfamily.org going to the correct place? urlpatterns = [ path( '', RedirectView.as_view(url=reverse_lazy('list_index'), permanent=True), ), path('mailman3/', include('postorius.urls')),
You _probably_ had DOMAIN/postorius as your URL? If that's the case, replace the 'mailman3/' above with your old 'posotorius/' in your new urls.py.
That should fix the problem you are having with 404 because you browser probably remembers the old URL and tries to auto-redirect root path to /postorius.
-- thanks, Abhilash Raj (maxking)