Skip to content

Commit ec9060a

Browse files
Merge pull request #82078 from Srivaralakshmi/RHDEVDOCS-5840
RHDEVDOCS-5840 - Change redirects
2 parents 333507e + cd9615b commit ec9060a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,12 +328,12 @@ AddType text/vtt vtt
328328
# Builds using Shipwright landing page
329329
RewriteRule ^container-platform/(4\.14|4\.15|4\.16|4\.17|4\.18)/cicd/builds_using_shipwright/overview-openshift-builds.html /builds/latest/about/overview-openshift-builds.html [L,R=302]
330330

331-
# redirect gitops latest to 1.13
331+
# redirect gitops latest to 1.14
332332
RewriteRule ^gitops/?$ /gitops/latest [R=302]
333-
RewriteRule ^gitops/latest/?(.*)$ /gitops/1\.13/$1 [NE,R=302]
333+
RewriteRule ^gitops/latest/?(.*)$ /gitops/1\.14/$1 [NE,R=302]
334334

335335
# redirect top-level without filespec to the about file
336-
RewriteRule ^gitops/(1\.8|1\.9|1\.10|1\.11|1\.12|1\.13)/?$ /gitops/$1/understanding_openshift_gitops/about-redhat-openshift-gitops.html [L,R=302]
336+
RewriteRule ^gitops/(1\.8|1\.9|1\.10|1\.11|1\.12|1\.13|1\.14)/?$ /gitops/$1/understanding_openshift_gitops/about-redhat-openshift-gitops.html [L,R=302]
337337

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]

_templates/_page_openshift.html.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@
266266
<%= distro %>
267267
</a>
268268
<select id="version-selector" onchange="versionSelector(this);">
269+
<option value="1.14">1.14</option>
269270
<option value="1.13">1.13</option>
270271
<option value="1.12">1.12</option>
271272
<option value="1.11">1.11</option>

0 commit comments

Comments
 (0)