diff --git a/www/.htaccess b/www/.htaccess index 982e366..c8bafd0 100644 --- a/www/.htaccess +++ b/www/.htaccess @@ -3,6 +3,32 @@ redirectmatch 302 ^/start(/)?$ /get-started.html # Permanent redirects for documents which have moved in the past +################################################################# +## Move from docs/nodepool to docs/nodepool/latest +redirectmatch 301 ^/docs/nodepool(/)?$ /docs/nodepool/latest/ + +### HTML Files +redirectmatch 301 ^/docs/nodepool/aws.html$ /docs/nodepool/latest/aws.html +redirectmatch 301 ^/docs/nodepool/azure.html$ /docs/nodepool/latest/azure.html +redirectmatch 301 ^/docs/nodepool/configuration.html$ /docs/nodepool/latest/configuration.html +redirectmatch 301 ^/docs/nodepool/devguide.html$ /docs/nodepool/latest/devguide.html +redirectmatch 301 ^/docs/nodepool/gce.html$ /docs/nodepool/latest/gce.html +redirectmatch 301 ^/docs/nodepool/genindex.html$ /docs/nodepool/latest/genindex.html +redirectmatch 301 ^/docs/nodepool/http-routingtable.html$ /docs/nodepool/latest/http-routingtable.html +redirectmatch 301 ^/docs/nodepool/index.html$ /docs/nodepool/latest/index.html +redirectmatch 301 ^/docs/nodepool/installation.html$ /docs/nodepool/latest/installation.html +redirectmatch 301 ^/docs/nodepool/kubernetes.html$ /docs/nodepool/latest/kubernetes.html +redirectmatch 301 ^/docs/nodepool/metastatic.html$ /docs/nodepool/latest/metastatic.html +redirectmatch 301 ^/docs/nodepool/objects.inv$ /docs/nodepool/latest/objects.inv +redirectmatch 301 ^/docs/nodepool/openshift-pods.html$ /docs/nodepool/latest/openshift-pods.html +redirectmatch 301 ^/docs/nodepool/openshift.html$ /docs/nodepool/latest/openshift.html +redirectmatch 301 ^/docs/nodepool/openstack.html$ /docs/nodepool/latest/openstack.html +redirectmatch 301 ^/docs/nodepool/operation.html$ /docs/nodepool/latest/operation.html +redirectmatch 301 ^/docs/nodepool/releasenotes.html$ /docs/nodepool/latest/releasenotes.html +redirectmatch 301 ^/docs/nodepool/search.html$ /docs/nodepool/latest/search.html +redirectmatch 301 ^/docs/nodepool/static.html$ /docs/nodepool/latest/static.html +redirectmatch 301 ^/docs/nodepool/ibmvpc.html$ /docs/nodepool/latest/ibmvpc.html + ################################################################# ## Move from docs/zuul to docs/zuul/latest redirectmatch 301 ^/docs/zuul(/)?$ /docs/zuul/latest/