File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -340,8 +340,8 @@ AddType text/vtt vtt
340
340
341
341
# GitOps release notes version switch
342
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
343
+ RewriteRule ^gitops/1\.(8|9|10|11|12|13)/release_notes/gitops-release-notes-1-([0-9]+)\ .html$ gitops/1.$1/release_notes/gitops-release-notes.html [L,R=302]
344
+ RewriteRule ^gitops/1\.(14|15|16)/release_notes/gitops-release-notes?(.*)\ .html$ gitops/1.$1/release_notes/gitops-release-notes.html [L,R=302]
345
345
346
346
# redirect any links to existing OCP embedded content to standalone equivalent for each assembly
347
347
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]
@@ -387,6 +387,13 @@ AddType text/vtt vtt
387
387
RewriteRule ^pipelines/?$ /pipelines/latest [R=302]
388
388
RewriteRule ^pipelines/latest/?(.*)$ /pipelines/1\.15/$1 [NE,R=302]
389
389
390
+ # Pipelines release notes version switch
391
+
392
+ RewriteRule ^pipelines/1\.(10|11|12|13|14|15)/release_notes/op-release-notes-1-([0-9]+)\.html$ pipelines/1.$1/about/op-release-notes.html [L,R=302]
393
+ RewriteRule ^pipelines/1\.(16|17|17)/release_notes/op-release-notes?(.*)\.html$ pipelines/1.$1/release_notes/pipelines-release-notes.html [L,R=302]
394
+ RewriteRule ^pipelines/1\.(16|17|17)/anput/op-release-notes\.html$ pipelines/1.$1/release_notes/pipelines-release-notes.html [L,R=302]
395
+
396
+
390
397
# Pipelines landing page
391
398
392
399
RewriteRule ^container-platform/(4\.9|4\.10|4\.11|4\.12|4\.13|4\.14|4\.15|4\.16|4\.17|4\.18)/cicd/pipelines/about-pipelines.html /pipelines/latest/about/about-pipelines.html [NE,R=302]
You can’t perform that action at this time.
0 commit comments