Shorter URLs for museum pages
simonw opened this issue · comments
Simon Willison commented
Right now they are:
https://www.niche-museums.com/browse/museums/102
I'd like to shorten these to just:
https://www.niche-museums.com/102
Using the new custom template page parameters feature in Datasette 0.49.
Simon Willison commented
One trick: I need to ensure I have 301 redirects from the old locations.
Simon Willison commented
I'm redirecting the old URLs here:
museums/plugins/redirect_www.py
Lines 11 to 19 in 83a80df