[openstreetmap/openstreetmap-website] Add noindex meta tag to diary index pages (#3029)

Tobias notifications at github.com
Sat Jan 2 19:22:50 UTC 2021


Google (and other search engines) should follow all links on this page, but only index the actual diary_entry#show and not the #index. This meta tag tells google to do just that (https://developers.google.com/search/docs/advanced/crawling/block-indexing?hl=en).

Part of https://github.com/openstreetmap/openstreetmap-website/issues/2851
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/3029

-- Commit Summary --

  * Add noindex meta tag to diary index pages

-- File Changes --

    M app/views/diary_entries/index.html.erb (1)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/3029.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3029.diff

-- 
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/pull/3029
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210102/28dcfd7b/attachment.htm>


More information about the rails-dev mailing list