Skip to content

Commit

Permalink
Revert "Adds redirects for controller docs already migrated down/upst…
Browse files Browse the repository at this point in the history
…ream (#241)" (#242)

This reverts commit ecec425.
  • Loading branch information
oraNod authored Apr 23, 2024
1 parent ecec425 commit e1250e1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@ RedirectMatch permanent "/lint.html" "/ecosystem.html"

RedirectMatch permanent "/automation.html" "/platform.html"

# Redirect the controller-automation pages to their respective index pages

RedirectMatch permanent "automation-controller/(4.5|latest)/html/administration/(?!index\.html)(.*)$" "automation-controller/latest/html/administration/index.html"
RedirectMatch permanent "automation-controller/(4.5|latest)/html/controllerapi/(?!index\.html)(.*)$" "automation-controller/latest/html/controllerapi/index.html"
RedirectMatch permanent "automation-controller/(4.5|latest)/html/quickstart/(?!index\.html)(.*)$" "automation-controller/latest/html/quickstart/index.html"
RedirectMatch permanent "automation-controller/(4.5|latest)/html/towerapi/(?!index\.html)(.*)$" "automation-controller/latest/html/controllerapi/index.html"
RedirectMatch permanent "automation-controller/(4.5|latest)/html/upgrade-migration-guide/(?!index\.html)(.*)$" "automation-controller/latest/html/upgrade-migration-guide/index.html"
RedirectMatch permanent "automation-controller/(4.5|latest)/html/userguide/(?!index\.html)(.*)$" "automation-controller/latest/html/userguide/index.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/"
Expand Down

0 comments on commit e1250e1

Please sign in to comment.