Created
May 21, 2021 05:01
-
-
Save miguelmota/7066b260b9b1d6e702e9a704a5549318 to your computer and use it in GitHub Desktop.
Netlify redirect all except for certain path example config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[redirects]] | |
from = "/whitepaper.pdf" | |
to = "/whitepaper.pdf" | |
status = 200 | |
force = true | |
[[redirects]] | |
from = "/*" | |
to = "https://another-site.com/:splat" | |
status = 301 | |
force = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment