🔧 proxies-redirects: Redirect parameter for docs.fp.o/dei/ redirect
This commit enhances the redirect regex used for the docs.fp.o redirect for the DEI Team documentation. I follow @kevin's example from the CPE to CLE docs redirect, which uses a parameter and redirects a specific page to the new address. Currently, the DEI Team docs redirect will take the user to the main page of the team, regardless of what specific page is visited. I also added a `docs` tag to the CLE tags redirect, since it is a Fedora Docs-specific redirect too. Signed-off-by: Justin W. Flory (he/him) <jwf@redhat.com>
This commit is contained in:
parent
b30121aee4
commit
f5368a271c
1 changed files with 5 additions and 4 deletions
|
@ -853,9 +853,9 @@
|
|||
|
||||
- role: httpd/redirectmatch
|
||||
shortname: 00-docs-dei
|
||||
website: docs.fedoraproject.org
|
||||
regex: (?i)^/en-US/diversity-inclusion
|
||||
target: https://docs.fedoraproject.org/en-US/dei/
|
||||
website: "docs.fedoraproject.org"
|
||||
regex: ^/en-US/diversity-inclusion/(.*)$
|
||||
target: https://docs.fedoraproject.org/en-US/dei/$1
|
||||
tags:
|
||||
- docs
|
||||
|
||||
|
@ -925,3 +925,4 @@
|
|||
target: https://docs.fedoraproject.org/en-US/cle/$1
|
||||
tags:
|
||||
- cle
|
||||
- docs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue