Skip to content

Commit b3ac6b1

Browse files
committed
RHDEVDOCS 6185 redirects for release notes for GitOps
1 parent 0e3ed93 commit b3ac6b1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.s2i/httpd-cfg/01-commercial.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,11 @@ AddType text/vtt vtt
338338
# GitOps landing page
339339
RewriteRule ^container-platform/(4\.11|4\.12|4\.13|4\.14|4\.15|4\.16|4\.17|4\.18)/cicd/gitops/about-redhat-openshift-gitops.html /gitops/latest/understanding_openshift_gitops/about-redhat-openshift-gitops.html [L,R=302]
340340

341+
# GitOps release notes version switch
342+
343+
RewriteRule ^gitops/1\.(8|9|10|11|12|13)/release_notes/gitops-release-notes?(.*).html gitops/1.$1/release_notes/gitops-release-notes.html
344+
RewriteRule ^gitops/1\.(14|15|16)/release_notes/gitops-release-notes?(.*).html gitops/1.$1/release_notes/gitops-release-notes-1-$1.html
345+
341346
# redirect any links to existing OCP embedded content to standalone equivalent for each assembly
342347
RewriteRule ^container-platform/(4\.11|4\.12|4\.13|4\.14|4\.15|4\.16|4\.17|4\.18)/cicd/gitops/gitops-release-notes.html/ /gitops/latest/release_notes/gitops-release-notes-1-14.html [L,R=302]
343348
RewriteRule ^container-platform/(4\.11|4\.12|4\.13|4\.14|4\.15|4\.16|4\.17|4\.18)/cicd/gitops/understanding-openshift-gitops.html /gitops/latest/understanding_openshift_gitops/about-redhat-openshift-gitops.html [L,R=302]

0 commit comments

Comments
 (0)