Abhilash Raj wrote:
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.
Yep that was it. I actually left it be in the end as users were accessing the new page fine. I had to update mailman-hyperkitty with the new URL as archiving wasn't working but that has now been done and everything seems to be back to normal on the new setup.
Thanks. Andrew.