After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 509424 - Only let search engined index stable, unstable versions
Only let search engined index stable, unstable versions
Status: RESOLVED FIXED
Product: website
Classification: Infrastructure
Component: help.gnome.org
current
Other All
: Normal normal
: ---
Assigned To: GNOME Web maintainers
GNOME Web maintainers
Depends on:
Blocks:
 
 
Reported: 2008-01-14 17:32 UTC by Olav Vitters
Modified: 2016-02-29 12:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Olav Vitters 2008-01-14 17:32:16 UTC
GNOME Library should only let the stable and unstable documentation versions be indexed. This using a robots.txt. This is needed as
 * stable/unstable are the only things that you want people to see by default
 * providing every version lowers your google pagerank as much of the content is the same
 * should take extra work to see old versions
Comment 1 Frederic Peters 2008-05-17 20:56:04 UTC
Hopefully bots won't choke on such a large robots.txt file.

2008-05-17  Frederic Peters  <fpeters@0d.be>
                       
        * data/xslt/indexes.xsl: added generation of a robots.txt file listing
        versioned path, so only /stable/ and /unstable/ URLs will be indexed.
        (closes: #509424)
Comment 2 Scott Severance 2008-05-21 16:20:41 UTC
Actually, this isn't quite fixed. There's considerable duplication in the robots.txt. Here's a small snippet to illustrate:

Disallow: /admin/gdm/2.14/
Disallow: /admin/gdm/2.16/
Disallow: /admin/gdm/2.18/
Disallow: /admin/gdm/2.20/
Disallow: /admin/system-admin-guide/2.14/
Disallow: /admin/system-admin-guide/2.16/
Disallow: /admin/system-admin-guide/2.18/
Disallow: /admin/system-admin-guide/2.20/
Disallow: /admin/system-admin-guide/2.22/
Disallow: /admin/gdm/2.14/
Disallow: /admin/gdm/2.16/
Disallow: /admin/gdm/2.18/
Disallow: /admin/gdm/2.20/

It appears to me from a quick glance that each line appears AT LEAST 3 times.
Comment 3 Scott Severance 2008-05-21 16:26:24 UTC
Update: I counted the number of occurrences of the sample gdm block I gave and found 42 consecutive occurrences.
Comment 4 Daniel Aleksandersen 2016-02-29 12:57:45 UTC
A more modern approach would be to have all the old documents point to the current stable version as the canonical link for all the versions.
https://support.google.com/webmasters/answer/139066?hl=en