Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@

# Getting a ton of hits to things like this, redirecting.
[[redirects]]
from = "/https://traeblain.com"
from = "/https*"
to = "/"
status = 301
force = true

[[redirects]]
from = "/https://traeblain.com/*"
to = "/:splat"
status = 301
force = true
# [[redirects]]
# from = "/https%3A%2F%2Ftraeblain.com%2F*"
# to = "/:splat"
# status = 301
# force = true

# [[redirects]]
# from ='/api/*'
Expand Down
2 changes: 2 additions & 0 deletions static/_redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# netlify.toml redirects weren't working, so trying this.
# /https* / 303!