openbenches.org icon indicating copy to clipboard operation
openbenches.org copied to clipboard

Better Page Structure for SEO

Open edent opened this issue 3 years ago • 3 comments
trafficstars

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

edent avatar Sep 26 '22 10:09 edent

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.

edent avatar Sep 26 '22 10:09 edent

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"

edent avatar Sep 26 '22 13:09 edent

Geocage gives us a bounding box. Probably good enough!

         "bounds" : {
            "northeast" : {
               "lat" : 52.387833,
               "lng" : 9.7334894
            },
            "southwest" : {
               "lat" : 52.387733,
               "lng" : 9.7333894
            }
         },

edent avatar Sep 26 '22 16:09 edent

This now works. E.g. https://openbenches.org/location/UK,%20Weston-Super%20Mare

edent avatar Feb 06 '23 09:02 edent