Files
fedora-infra_ansible/playbooks/include
Justin Wheeler 5d6a775e51 🔧 proxies-redirects: Write simpler regex for redirect rules
This commit standardizes the regex redirection used for all Fedora Docs
sites where a language code is involved in the original site and the
redirected site. This new regex pattern matches anything between the
slashes where the language code for the Fedora Docs site appears. This
allows for greater flexibility of anything that may appear now or in the
future for the language codes, including some that use two letters and
others that use four letters.

It makes the redirect consistent across all Fedora Docs redirects, in
the general aim of promoting a common best practice for Fedora Docs
redirects for old site names to new ones.

CC: @pbokoc @pboy

Signed-off-by: Justin Wheeler <jwheel@redhat.com>
2026-01-27 18:01:42 +00:00
..