Open inglesp opened 3 years ago
For instance, https://www.thedatalab.org/blog/2019/08/81/what-is-the-dmd-the-nhs-dictionary-of-medicines-and-devices gives a 404.
I added a redirect for just blog urls without trailing slashes recently (so your example link now redirects correctly), if you can assure me that all possible urls need a trailing slash then I can do it for all urls.
some urls respond with or without the slash (no redirect), e.g. https://www.thedatalab.org/openprescribing/papers vs https://www.thedatalab.org/openprescribing/papers/ and others (such as blog posts) 404
I reckon https://github.com/ebmdatalab/thedatalab/blob/master/thedatalab/urls.py#L71 could do with a slash at the end.
aye it looks like it
We should probably redirect requests to URLs without a trailing slash to URLs with a trailing slash.