Adding redirects for new pages from old URL's and grouping more logically in the config file.

Signed-off-by: Sunil Singh <sunil.singh@suse.com>
This commit is contained in:
Sunil Singh
2024-04-02 12:27:58 -07:00
parent b482173615
commit 3ef0b1db01
+18 -4
View File
@@ -1693,10 +1693,6 @@ module.exports = {
to: '/v2.8/api/v3-rancher-api-guide',
from: '/v2.8/pages-for-subheaders/about-the-api'
},
{
to: '/v2.8/api/v3-rancher-api-guide',
from: '/v2.8/reference-guides/about-the-api'
},
{
to: '/v2.8/how-to-guides/new-user-guides/manage-clusters/access-clusters',
from: '/v2.8/pages-for-subheaders/access-clusters'
@@ -3436,7 +3432,25 @@ module.exports = {
{
to: '/v2.7/reference-guides/best-practices/rancher-server/tuning-and-best-practices-for-rancher-at-scale',
from: '/v2.7/reference-guides/best-practices/rancher-server/tips-for-scaling-rancher'
},
// Redirects for restructure from PR #1147 (start)
{
to: '/v2.8/api/v3-rancher-api-guide',
from: '/v2.8/reference-guides/about-the-api'
},
{
to: '/v2.8/api/api-tokens',
from: '/v2.8/reference-guides/about-the-api/api-tokens'
},
{
to: '/api/v3-rancher-api-guide',
from: '/reference-guides/about-the-api'
},
{
to: '/api/api-tokens',
from: '/reference-guides/about-the-api/api-tokens'
}
// Redirects for restructure from PR #1147 (end)
],
},
],