Skip to content

Commit

Permalink
add 2.8 to consolidated rules
Browse files Browse the repository at this point in the history
  • Loading branch information
oraNod committed Dec 4, 2024
1 parent 033a41d commit 58ac95a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ RedirectMatch permanent "^/ansible/(2\.[3-4])/plugins/(.+)\.html$" "/collections
# Redirect module pages for versions 2.3 and 2.4
RedirectMatch permanent "^/ansible/(2\.[3-4])/([^\.]+)_module\.html$" "/collections.html"

# Redirect plugin and module pages for versions 2.5 to 2.7
RedirectMatch permanent "^/ansible/(2\.[5-7])/(plugins|modules)/(.+)\.html$" "/collections.html"
# Redirect plugin and module pages for versions 2.5 to 2.8
RedirectMatch permanent "^/ansible/(2\.[5-8])/(plugins|modules)/(.+)\.html$" "/collections.html"

# Vault redirects (2.3, 2.4, 2.5, 2.6)
RedirectMatch permanent "^/ansible/(2\.(5|6))/user_guide/playbooks_vault.html" "/ansible/latest/vault_guide/index.html"
Expand All @@ -43,7 +43,7 @@ RedirectMatch permanent "^/ansible/2.6/user_guide/quickstart.html" "/ansible/lat
RedirectMatch permanent "^/ansible/2.6/vmware/index.html" "/ansible/latest/collections/community/vmware/index.html"

# EOL Archive Redirects for all the rest
RedirectMatch permanent "^/ansible/(2\.(10|[3-7]))/(.+)\.html$" "/ansible/latest/$3.html"
RedirectMatch permanent "^/ansible/(2\.(10|[3-8]))/(.+)\.html$" "/ansible/latest/$3.html"

#####################################################################
# Redirects for top-level project pages
Expand Down

0 comments on commit 58ac95a

Please sign in to comment.