From 092188f81cacb4d8b232930eaf30643daba7829f Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Wed, 5 May 2021 07:33:53 -0700 Subject: [PATCH] Exclude older ironic releases from indexing A frequent complaint of those searching for information is they get keyword hits on much older documentation indexes. Until very recently, this often tended to be a more recent release, but sometiems liberty, newton, or even ocata would appear in the results. So this is an attempt to restrict indexing down to newer more relevant versions to ultimately limit confusion while still keeping older docs available for reference if needed. Change-Id: I680a4a9165178b19b4d4b715d164f0e6f4f2e1d2 --- www/static/robots.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/www/static/robots.txt b/www/static/robots.txt index 1374488bf4..30e40ba62d 100644 --- a/www/static/robots.txt +++ b/www/static/robots.txt @@ -6,3 +6,12 @@ Disallow: /*.pdf$ User-agent: * Disallow: /trunk/ Disallow: /draft/ + +# Prevent legacy ironic releases from being indexed +Disallow: /ironic/mitaka +Disallow: /ironic/newton +Disallow: /ironic/ocata +Disallow: /ironic/pike +Disallow: /ironic/queens +Disallow: /ironic/rocky +Disallow: /ironic/stein