openbenches.org
openbenches.org copied to clipboard
Better Page Structure for SEO
As per
But another thing can be where they sit in the overall structure of the link graph. sitemaps are great for letting search engines know something exists. Internal links give that structure. So perhaps some taxonomy like
England
|_Derbyshire
|_ Matlock
|_ list of benches
https://twitter.com/davewsmart/status/1574332048050888705
At the moment, location.php redirects /location/London, UK to /#lat,long,zoom
Instead, it should act like a user page. Display a map or the area and list all the benches under them.
Can possibly split it like: /location/UK/London/Bloomsbury and then have in-page breadcrumb nav.
One problem is that we store address as a string, not as a set of administrative boundaries. So we can do nearest benches to the centre of X. But not "only benches in the administrative area of X"
Geocage gives us a bounding box. Probably good enough!
"bounds" : {
"northeast" : {
"lat" : 52.387833,
"lng" : 9.7334894
},
"southwest" : {
"lat" : 52.387733,
"lng" : 9.7333894
}
},
This now works. E.g. https://openbenches.org/location/UK,%20Weston-Super%20Mare