Skip to content

Commit 2a16f8f

Browse files
authored
Merge pull request #45868 from pneedle-rh/adding-osd-restructure-redirects
Adding redirects for the OSD restructure
2 parents 67ffc70 + e9eb5f3 commit 2a16f8f

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,33 @@ AddType text/vtt vtt
549549
RewriteRule ^dedicated/architecture/additional_concepts/f5_big_ip\.html(.*) /dedicated/welcome/index.html$1 [NE,L,R=301]
550550
RewriteRule ^dedicated/architecture/additional_concepts/flannel\.html(.*) /dedicated/welcome/index.html$1 [NE,L,R=301]
551551

552+
# Redirects for the Dedicated restructure applied in https://github.com/openshift/openshift-docs/pull/41923 and https://github.com/openshift/openshift-docs/pull/43807
553+
554+
RewriteRule ^dedicated/osd_quickstart/osd-quickstart.html /dedicated/osd_getting_started/osd-getting-started.html [NE,R=302]
555+
556+
RewriteRule ^dedicated/osd_cluster_create/osd-understanding-your-cloud-deployment-options.html /dedicated/osd_getting_started/osd-understanding-your-cloud-deployment-options.html [NE,R=302]
557+
RewriteRule ^dedicated/osd_cluster_create/creating-an-aws-cluster.html /dedicated/osd_install_access_delete_cluster/creating-an-aws-cluster.html [NE,R=302]
558+
RewriteRule ^dedicated/osd_cluster_create/creating-a-gcp-cluster.html /dedicated/osd_install_access_delete_cluster/creating-a-gcp-cluster.html [NE,R=302]
559+
560+
RewriteRule ^dedicated/identity_providers/config-identity-providers.html /dedicated/osd_install_access_delete_cluster/config-identity-providers.html [NE,R=302]
561+
562+
RewriteRule ^dedicated/administering_a_cluster/osd-admin-roles.html /dedicated/osd_cluster_admin/osd-admin-roles.html [NE,R=302]
563+
564+
RewriteRule ^dedicated/osd_private_connections/?(.*)$ /dedicated/osd_cluster_admin/osd_private_connections/$1 [NE,R=302]
565+
566+
RewriteRule ^dedicated/nodes/rosa-managing-worker-nodes.html /dedicated/osd_cluster_admin/osd_nodes/osd-managing-worker-nodes.html [NE,R=302]
567+
RewriteRule ^dedicated/nodes/?(.*)$ /dedicated/osd_cluster_admin/osd_nodes/osd-$1 [NE,R=302]
568+
569+
RewriteRule ^dedicated/osd_notifications/notifications.html /dedicated/osd_install_access_delete_cluster/notifications.html [NE,R=302]
570+
571+
RewriteRule ^dedicated/monitoring/?(.*)$ /dedicated/osd_cluster_admin/osd_monitoring/$1 [NE,R=302]
572+
573+
RewriteRule ^dedicated/osd_policy/?(.*)$ /dedicated/osd_architecture/osd_policy/$1 [NE,R=302]
574+
575+
RewriteRule ^dedicated/support/getting-support.html /dedicated/osd_architecture/osd-support.html [NE,R=302]
576+
RewriteRule ^dedicated/support/summarizing-cluster-specifications.html /dedicated/osd_support/osd-summarizing-cluster-specifications.html [NE,R=302]
577+
RewriteRule ^dedicated/support/?(.*)$ /dedicated/osd_support/$1 [NE,R=302]
578+
552579
# OCP specific redirects
553580
RewriteRule ^(container-platform|enterprise)/(3\.2|3\.3|3\.4|3\.5|3\.6|3\.7)/architecture/additional_concepts/throttling\.html(.*)$ /$1/$2/admin_guide/overcommit.html$3 [NE,L,R=301]
554581
RewriteRule ^(container-platform|enterprise)/(.[^/])/admin_guide/install/(advanced_install|deploy_router|docker_registry|first_steps|overview|prerequisites|quick_install|upgrades)\.html(.*)$ /$1/$2/install/$3.html$4 [NE,R=301]

0 commit comments

Comments
 (0)