Skip to content

Commit

Permalink
wip redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev committed Jun 27, 2024
1 parent f3a80e8 commit 0929c2d
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
status = 301
force = false

[[redirects]]
from = "/3.0/:dir/:page.*"
to = "/3.0/:dir/:page"
status = 301
force = false
# [[redirects]]
# from = "/3.0/:dir/:page.*"
# to = "/3.0/:dir/:page"
# status = 301
# force = false

[[redirects]]
from = "/3.0/:page.md"
to = "/3.0/:page"
from = "/3.0/*.md"
to = "/3.0/:splat"
status = 301
force = false

Expand All @@ -43,15 +43,15 @@
# Redirects for 2.0 versions
# -------------------------

[[redirects]]
from = "/2.0/:dir/:page.*"
to = "/2.0/:dir/:page"
status = 301
force = false
# [[redirects]]
# from = "/2.0/:dir/:page.*"
# to = "/2.0/:dir/:page"
# status = 301
# force = false

[[redirects]]
from = "/2.0/:page.md"
to = "/2.0/:page"
from = "/2.0/*.md"
to = "/2.0/:splat"
status = 301
force = false

Expand Down

0 comments on commit 0929c2d

Please sign in to comment.