Skip to content

Commit

Permalink
chore: add redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
DSchau committed Jan 5, 2024
1 parent 8f12d0f commit 2bcb618
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
[[redirects]]
from = "/search-engine-optimization-with-gatsby"
to = "https://dustinschau.com/posts/2019-01-04-seo-and-gatsby/"
from = "/*"
to = "https://dustinschau.com/posts/:splat"
status = 301
force = false
query = {path = ":path"}
conditions = {Language = ["en"], Country = ["US"], Role = ["admin"]}
force = true

[[redirects]]
from = "/"
to = "https://dustinschau.com/posts"
status = 301
force = true

0 comments on commit 2bcb618

Please sign in to comment.