Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update netlify.toml to force redirect to docs.lando.dev
Browse files Browse the repository at this point in the history
pirog committed Jan 17, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 95c4f4d commit a1d392d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -40,6 +40,15 @@
output_path = "reports/lighthouse.html"

# We need this so preview environments and the base site look ok on their own
[[redirects]]
from = "https://lando-pantheon.netlify.app"
to = "https://lando-pantheon.netlify.app/plugins/pantheon/index.html"
status = 301
force = true
[[redirects]]
from = "https://lando-pantheon.netlify.app/*"
to = "https://docs.lando.dev/:splat"
status = 301
[[redirects]]
from = "/"
to = "/plugins/pantheon"

0 comments on commit a1d392d

Please sign in to comment.