From 71588120486da65b7aa595bdecccf7ca788a226c Mon Sep 17 00:00:00 2001 From: Brian Rosmaita Date: Mon, 25 Jun 2018 14:30:43 -0400 Subject: [PATCH] Add redirect for no-longer-existing Image API v1 docs The Image API v1 Reference was removed by change I65ef76fec0029949f8de867d711e745b7aa7f81d. Redirect requests for api-ref/image/v1/ to the base api-ref/image/ document that contains a section "What happened to the v1 API?". Change-Id: I14a49f3809bed9f3e3f02eab9c5b2029907977ac Closes-bug: #1778579 --- www/.htaccess | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/.htaccess b/www/.htaccess index afb99db8a..fa395f2cc 100644 --- a/www/.htaccess +++ b/www/.htaccess @@ -60,6 +60,8 @@ redirect 301 /api-ref-share-v2.html /api-ref/shared-file-system/index.html redirect 301 /api-ref-share-v1.html /api-ref/shared-file-system/index.html # Redirect Telemetry (ceilometer only) API redirect 301 /api-ref-telemetry-v2.html https://docs.openstack.org/ceilometer/latest/webapi/v2.html +# Redirect no-longer-existing Image API v1 docs to intro page +redirect 301 /api-ref/image/v1/ /api-ref/image/ # Redirect service-type aliases to service-type api-ref locations {% for alias, service_type in REVERSE.items() -%}