[openstreetmap/openstreetmap-website] Use rel="canonical" for indexable stuff? (#1400)

Richard Fairhurst notifications at github.com
Sat Dec 31 15:14:09 UTC 2016


OSM content sometimes shows up in Google at odd URLs rather than the standard openstreetmap.org domain, for example:

https://www.google.co.uk/search?q=site%3A89-16-162-21.no-reverse-dns-set.bytemark.co.uk

There is a `Host:` directive in robots.txt which should guard against this, but it appears that only Yandex supports it. Google's preferred solution appears to be `<link rel="canonical" ...>`. Probably only a nice-to-have and a workaround for a Google infelicity, but it could be good to support this.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20161231/e17b5e6b/attachment.html>


More information about the rails-dev mailing list