redirects take 2
This commit is contained in:
parent
0f84acb8e0
commit
8aa5e68642
1 changed files with 16 additions and 16 deletions
32
netlify.toml
32
netlify.toml
|
|
@ -3,89 +3,89 @@
|
||||||
publish = "dist"
|
publish = "dist"
|
||||||
command = "npm run build"
|
command = "npm run build"
|
||||||
|
|
||||||
# Redirect rules for subdomain routing
|
# Rewrite rules for subdomain routing (preserves subdomain in location bar)
|
||||||
# Note: These require domain aliases to be configured in Netlify dashboard
|
# Note: These require domain aliases to be configured in Netlify dashboard
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "https://art.neeldhara.blog/*"
|
from = "https://art.neeldhara.blog/*"
|
||||||
to = "https://neeldhara.blog/art/:splat"
|
to = "/art/:splat"
|
||||||
status = 301
|
status = 200
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "https://bfs.neeldhara.blog/*"
|
from = "https://bfs.neeldhara.blog/*"
|
||||||
to = "https://neeldhara.blog/bfs/:splat"
|
to = "https://neeldhara.blog/bfs/:splat"
|
||||||
status = 301
|
status = 200
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "https://dfs.neeldhara.blog/*"
|
from = "https://dfs.neeldhara.blog/*"
|
||||||
to = "https://neeldhara.blog/dfs/:splat"
|
to = "https://neeldhara.blog/dfs/:splat"
|
||||||
status = 301
|
status = 200
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "https://problems.neeldhara.blog/*"
|
from = "https://problems.neeldhara.blog/*"
|
||||||
to = "https://neeldhara.blog/problems/:splat"
|
to = "https://neeldhara.blog/problems/:splat"
|
||||||
status = 301
|
status = 200
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "https://puzzles.neeldhara.blog/*"
|
from = "https://puzzles.neeldhara.blog/*"
|
||||||
to = "https://neeldhara.blog/puzzles/:splat"
|
to = "https://neeldhara.blog/puzzles/:splat"
|
||||||
status = 301
|
status = 200
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "https://reviews.neeldhara.blog/*"
|
from = "https://reviews.neeldhara.blog/*"
|
||||||
to = "https://neeldhara.blog/reviews/:splat"
|
to = "https://neeldhara.blog/reviews/:splat"
|
||||||
status = 301
|
status = 200
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "https://reflections.neeldhara.blog/*"
|
from = "https://reflections.neeldhara.blog/*"
|
||||||
to = "https://neeldhara.blog/reflections/:splat"
|
to = "https://neeldhara.blog/reflections/:splat"
|
||||||
status = 301
|
status = 200
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "https://vibes.neeldhara.blog/*"
|
from = "https://vibes.neeldhara.blog/*"
|
||||||
to = "https://neeldhara.blog/vibes/:splat"
|
to = "https://neeldhara.blog/vibes/:splat"
|
||||||
status = 301
|
status = 200
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "https://workflows.neeldhara.blog/*"
|
from = "https://workflows.neeldhara.blog/*"
|
||||||
to = "https://neeldhara.blog/workflows/:splat"
|
to = "https://neeldhara.blog/workflows/:splat"
|
||||||
status = 301
|
status = 200
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "https://magic.neeldhara.blog/*"
|
from = "https://magic.neeldhara.blog/*"
|
||||||
to = "https://neeldhara.blog/magic/:splat"
|
to = "https://neeldhara.blog/magic/:splat"
|
||||||
status = 301
|
status = 200
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "https://contests.neeldhara.blog/*"
|
from = "https://contests.neeldhara.blog/*"
|
||||||
to = "https://neeldhara.blog/contests/:splat"
|
to = "https://neeldhara.blog/contests/:splat"
|
||||||
status = 301
|
status = 200
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "https://poetry.neeldhara.blog/*"
|
from = "https://poetry.neeldhara.blog/*"
|
||||||
to = "https://neeldhara.blog/poetry/:splat"
|
to = "https://neeldhara.blog/poetry/:splat"
|
||||||
status = 301
|
status = 200
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
# Main blog redirect
|
# Main blog redirect
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "https://blog.neeldhara.blog/*"
|
from = "https://blog.neeldhara.blog/*"
|
||||||
to = "https://neeldhara.blog/blog/:splat"
|
to = "https://neeldhara.blog/blog/:splat"
|
||||||
status = 301
|
status = 200
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
# Fallback for main domain
|
# Fallback for main domain
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/*"
|
from = "/*"
|
||||||
to = "/index.html"
|
to = "/index.html"
|
||||||
status = 301
|
status = 200
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue