Skip to content

Commit 09f32ea

Browse files
authored
Merge pull request #72686 from mramendi/RHDEVDOCS-5949
RHDEVDOCS 5949 fix redirects for Standalone for a few versions
2 parents bc283e3 + 2593898 commit 09f32ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ AddType text/vtt vtt
239239
RewriteRule ^(rosa|dedicated)/serverless/serverless-release-notes.html$ /serverless/1.31/about/serverless-release-notes.html [L,R=302]
240240

241241
# redirect any links to existing OCP embedded content to standalone equivalent
242-
RewriteRule ^container-platform/(4\.10|4\.11|4\.12|4\.13|4\.14)/serverless/?(.*)$ /serverless/1.31/$2 [L,R=302]
242+
RewriteRule ^container-platform/(4\.10|4\.11|4\.12|4\.13|4\.14|4\.15|4\.16|4\.17|4\.18)/serverless/?(.*)$ /serverless/1.31/$2 [L,R=302]
243243

244244
# redirect any links to existing ROSA/Dedicated embedded content to standalone equivalent
245245
RewriteRule ^(rosa|dedicated)/serverless/?(.*)$ /serverless/1.31/$2 [L,R=302]
@@ -252,7 +252,7 @@ AddType text/vtt vtt
252252
RewriteRule ^builds/(1\.0)/?$ /builds/$1/about/overview-openshift-builds.html [L,R=302]
253253

254254
# Builds using Shipwright landing page
255-
RewriteRule ^container-platform/(4\.14|4\.15)/cicd/builds_using_shipwright/overview-openshift-builds.html /builds/latest/about/overview-openshift-builds.html [L,R=302]
255+
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]
256256

257257
# redirect gitops latest to 1.11
258258
RewriteRule ^gitops/?$ /gitops/latest [R=302]
@@ -262,7 +262,7 @@ AddType text/vtt vtt
262262
RewriteRule ^gitops/(1\.8|1\.9|1\.10|1\.11)/?$ /gitops/$1/understanding_openshift_gitops/about-redhat-openshift-gitops.html [L,R=302]
263263

264264
# GitOps landing page
265-
RewriteRule ^container-platform/(4\.11|4\.12|4\.13|4\.14)/cicd/gitops/about-redhat-openshift-gitops.html /gitops/latest/understanding_openshift_gitops/about-redhat-openshift-gitops.html [L,R=302]
265+
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]
266266

267267
# redirect any links to existing OCP embedded content to standalone equivalent for each assembly
268268
RewriteRule ^container-platform/(4\.11|4\.12|4\.13|4\.14)/cicd/gitops/gitops-release-notes.html/ /gitops/latest/release_notes/gitops-release-notes.html [L,R=302]
@@ -294,7 +294,7 @@ AddType text/vtt vtt
294294

295295
# Pipelines landing page
296296

297-
RewriteRule ^container-platform/(4\.9|4\.10|4\.11|4\.12|4\.13|4\.14)/cicd/pipelines/about-pipelines.html /pipelines/latest/about/about-pipelines.html [NE,R=302]
297+
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]
298298

299299
# redirect links to existing OCP embedded Pipelines content to standalone equivalent for each assembly
300300
# except the one recently renamed for now

0 commit comments

Comments
 (0)