Guessed URL gives result rather than 404
Guessing a URL like:
http://pct.bike/m/?r=bradford
results in a redirect to http://pct.bike/m/?r=isle-of-wight
Instead, it should give a 404, ideally with a list of areas.
Fixed.
Actually not it's not. Is this an easy fix @nikolai-b / @usr110 ?
Depends...
https://github.com/npct/pct-shiny/blob/nb-html-tidy/regions_www/m/server.R#L285-L289
If the guessed query[['r']] isn't in our list of regions we could create a page showing the list of regions. Technically easy but it would take time to style it nicely and make it fit into the UI.
If you show a list (which is good), you should still return a 404 status, as otherwise dodgy links will still get indexed by Google.