Skip to content

Commit cf1737a

Browse files
authored
Merge pull request #64951 from openshift/revert-64948-revert-64778-pipelines-version-redirect
Revert "Revert "RHDEVDOCS 5444 add version redirects for Pipelines""
2 parents c3b5856 + ece2b51 commit cf1737a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,13 @@ AddType text/vtt vtt
226226
# redirect any links to existing ROSA/Dedicated embedded content to standalone equivalent
227227
RewriteRule ^(rosa|dedicated)/serverless/?(.*)$ /serverless/1.30/$2 [L,R=302]
228228

229+
# Pipelines handling unversioned and latest links
230+
RewriteRule ^pipelines/?$ /pipelines/latest [R=302]
231+
RewriteRule ^pipelines/latest/?(.*)$ /pipelines/1\.11/$1 [NE,R=302]
232+
233+
# redirect top-level without filespec to the about file
234+
RewriteRule ^pipelines/(1\.10|1\.11)/?$ /pipelines/$1/about/understanding-openshift-pipelines.html [L,R=302]
235+
229236

230237
# OSD redirects for new content
231238
RewriteRule dedicated/4/cloud_infrastructure_access/dedicated-aws-vpn.html dedicated/osd_private_connections/aws-private-connections.html [NE,R=301]

0 commit comments

Comments
 (0)