Skip to content

Commit

Permalink
Update .htaccess
Browse files Browse the repository at this point in the history
  • Loading branch information
oraNod committed Nov 20, 2024
1 parent 919b415 commit d1dd82c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RedirectMatch permanent "^/ansible/(devel|latest)/(plugins|modules)/(.+)\.html$"
RedirectMatch permanent "^/ansible/(2\.[3-4])/plugins/(.+)\.html$" "https://docs.ansible.com/collections.html"

# Redirect module pages for versions 2.3 and 2.4
RedirectMatch permanent "^/ansible/(2\.[3-4])/([^_]+)_module\.html$" "https://docs.ansible.com/collections.html"
RedirectMatch permanent "^/ansible/(2\.[3-4])/([^\.]+)_module\.html$" "https://docs.ansible.com/collections.html"

# Redirect plugin and module pages for versions 2.5 and 2.6
RedirectMatch permanent "^/ansible/(2\.[5-6])/(plugins|modules)/(.+)\.html$" "https://docs.ansible.com/collections.html"
Expand Down

0 comments on commit d1dd82c

Please sign in to comment.