Skip to content

Commit

Permalink
Revert "Tidy the redirects file to make it easier to navigate" (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
Deflaimun authored May 31, 2024
1 parent 8f6a2a8 commit b7ba7f1
Showing 1 changed file with 25 additions and 29 deletions.
54 changes: 25 additions & 29 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ NODE_VERSION = "18"

# NOTE the following redirects get appended to the redirects defined in the _redirects file

# ========Beta redirects==========
[[redirects]]
from = "/docs/beta/*"
to = "/beta"
Expand All @@ -32,7 +31,6 @@ from = "/beta/*"
to = "/current/:splat"
status = 307

# ===========Docusaurus to Antora migration redirects============
[[redirects]]
from = "/home"
to = "/current/home"
Expand Down Expand Up @@ -63,6 +61,11 @@ from = "/docs/22.3/*"
to = "/current/:splat"
status = 301

[[redirects]]
from = "/22.3/*"
to = "/current/:splat"
status = 301

[[redirects]]
from = "/docs/22.2/platform/*"
to = "/current/:splat"
Expand All @@ -73,6 +76,11 @@ from = "/docs/22.2/*"
to = "/current/:splat"
status = 301

[[redirects]]
from = "/22.2/*"
to = "/current/:splat"
status = 301

[[redirects]]
from = "/docs/22.1/platform/*"
to = "/current/:splat"
Expand All @@ -83,6 +91,11 @@ from = "/docs/22.1/*"
to = "/current/:splat"
status = 301

[[redirects]]
from = "/22.1/*"
to = "/current/:splat"
status = 301

[[redirects]]
from = "/docs/21.11/platform/*"
to = "/current/:splat"
Expand All @@ -93,6 +106,11 @@ from = "/docs/21.11/*"
to = "/current/:splat"
status = 301

[[redirects]]
from = "/21.11/*"
to = "/current/:splat"
status = 301

[[redirects]]
from = "/docs/21.1/*"
to = "/current/:splat"
Expand Down Expand Up @@ -128,33 +146,6 @@ from = "/docs/*"
to = "/current/:splat"
status = 301

# ================End of life versions===================
[[redirects]]
from = "/23.1/*"
to = "/current/:splat"
status = 301

[[redirects]]
from = "/22.2/*"
to = "/current/:splat"
status = 301

[[redirects]]
from = "/22.3/*"
to = "/current/:splat"
status = 301

[[redirects]]
from = "/22.1/*"
to = "/current/:splat"
status = 301

[[redirects]]
from = "/21.11/*"
to = "/current/:splat"
status = 301

# =========Bulk redirects from different components========
[[redirects]]
from = "/current/reference/docker-compose/"
to = "/redpanda-labs/"
Expand Down Expand Up @@ -239,3 +230,8 @@ status = 301
from = "/current/develop/guide-nodejs/"
to = "/redpanda-labs/"
status = 301

[[redirects]]
from = "/23.1/*"
to = "/current/:splat"
status = 301

0 comments on commit b7ba7f1

Please sign in to comment.