Closed simonw closed 4 years ago
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.
One trick: I need to ensure I have 301 redirects from the old locations.
I'm redirecting the old URLs here:
https://github.com/simonw/museums/blob/83a80df670975a972bd3630d7d8aee30d635954b/plugins/redirect_www.py#L11-L19
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.