Bug 3842

Summary: Remove older documentation from major search indexes
Product: [Infrastructure] Website Reporter: Michael Halstead <mhalstead>
Component: web-contentAssignee: Jeff Osier-Mixon <jefro>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: bluelightning, Infras.watcher, infras.web.watcher
Version: unspecified   
Target Milestone: Q3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

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".