From d1dd82c0aaa0d0ac43f6b85471b02ae1e2618d96 Mon Sep 17 00:00:00 2001 From: Don Naro Date: Wed, 20 Nov 2024 17:43:41 +0000 Subject: [PATCH] Update .htaccess --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index f0e1574..6f7ea4e 100644 --- a/.htaccess +++ b/.htaccess @@ -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"