Bug 3842 - Remove older documentation from major search indexes
Summary: Remove older documentation from major search indexes
Status: RESOLVED FIXED
Alias: None
Product: Website
Classification: Infrastructure
Component: web-content (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: Q3
Assignee: Jeff Osier-Mixon
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-02-04 23:40 UTC by Michael Halstead
Modified: 2013-07-10 21:18 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Halstead 2013-02-04 23:40:01 UTC
Currently the 1.0 version of the docs show up before the current docs. We would rather have the current version listed first. If that isn't feasible removing 1.0 from indexes or redirecting will work.
Comment 1 Paul Eggleton 2013-02-05 17:33:40 UTC
I'd recommend also making sure the old documentation on pokylinux.org is removed at source and from search engines since it can also come up in searches.
Comment 2 Michael Halstead 2013-07-10 18:27:08 UTC
Added to robots.txt this should push the current docs up by removing the old docs.

+# Docs
+Disallow: /docs/0.9/
+Disallow: /docs/1.0/
+Disallow: /docs/1.0.1/
+Disallow: /docs/1.0.2/
+Disallow: /docs/1.1/
+Disallow: /docs/1.1.1/
+Disallow: /docs/1.1.2/
+Disallow: /docs/1.2/
+Disallow: /docs/1.2.1/
+Disallow: /docs/1.2.2/
+Disallow: /docs/1.3/
+Disallow: /docs/1.3.1/
+Disallow: /docs/1.3.2/
+Disallow: /docs/1.4/
+Disallow: /docs/1.4.1/
+Disallow: /docs/1.5/
Comment 3 Jeff Osier-Mixon 2013-07-10 21:18:11 UTC
Looks good, thanks. We will need to remember to revist robots.txt after every release to disallow the old release, unless there is a way to make it say "everything except /current".