From dc7fe30acb37448053f35c2a3f8982c571e6f2b0 Mon Sep 17 00:00:00 2001 From: Don Naro Date: Mon, 4 Dec 2023 16:20:00 +0000 Subject: [PATCH] redirect automation to platform --- .htaccess | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.htaccess b/.htaccess index 34652cca..2b856283 100644 --- a/.htaccess +++ b/.htaccess @@ -13,6 +13,10 @@ RedirectMatch permanent "^/((?!index|404|automation.*|ansible_community|collecti RedirectMatch permanent "/galaxy.html" "/ecosystem.html" RedirectMatch permanent "/lint.html" "/ecosystem.html" +# Redirect the automation page to the platform page + +RedirectMatch permanent "/automation.html" "/platform.html" + # Redirect so docs.ansible.com/ansible-core/ and docs.ansible.com/ansible/ dont show an Index of page anymore RedirectMatch permanent "^/ansible-core(|/|/index.html)$" "/ansible-core/devel/"