redirects take three
This commit is contained in:
parent
f133ede887
commit
3465643410
1 changed files with 260 additions and 0 deletions
260
netlify.toml
260
netlify.toml
|
|
@ -175,6 +175,26 @@
|
|||
status = 200
|
||||
force = true
|
||||
|
||||
# Special redirects for global pages
|
||||
[[redirects]]
|
||||
from = "https://art.neeldhara.blog/latest"
|
||||
to = "https://neeldhara.blog/latest"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://art.neeldhara.blog/about"
|
||||
to = "https://neeldhara.blog/about"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
# Fix double-path issue (e.g. /art/art/slug → /art/slug)
|
||||
[[redirects]]
|
||||
from = "https://art.neeldhara.blog/art/*"
|
||||
to = "https://art.neeldhara.blog/:splat"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
# Content rewrites
|
||||
[[redirects]]
|
||||
from = "https://art.neeldhara.blog/*"
|
||||
|
|
@ -182,72 +202,312 @@
|
|||
status = 200
|
||||
force = true
|
||||
|
||||
# Special redirects for global pages - BFS
|
||||
[[redirects]]
|
||||
from = "https://bfs.neeldhara.blog/latest"
|
||||
to = "https://neeldhara.blog/latest"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://bfs.neeldhara.blog/about"
|
||||
to = "https://neeldhara.blog/about"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
# Fix double-path issue for BFS
|
||||
[[redirects]]
|
||||
from = "https://bfs.neeldhara.blog/bfs/*"
|
||||
to = "https://bfs.neeldhara.blog/:splat"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://bfs.neeldhara.blog/*"
|
||||
to = "/bfs/:splat"
|
||||
status = 200
|
||||
force = true
|
||||
|
||||
# Special redirects for global pages - DFS
|
||||
[[redirects]]
|
||||
from = "https://dfs.neeldhara.blog/latest"
|
||||
to = "https://neeldhara.blog/latest"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://dfs.neeldhara.blog/about"
|
||||
to = "https://neeldhara.blog/about"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
# Fix double-path issue for DFS
|
||||
[[redirects]]
|
||||
from = "https://dfs.neeldhara.blog/dfs/*"
|
||||
to = "https://dfs.neeldhara.blog/:splat"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://dfs.neeldhara.blog/*"
|
||||
to = "/dfs/:splat"
|
||||
status = 200
|
||||
force = true
|
||||
|
||||
# Special redirects for global pages - PROBLEMS
|
||||
[[redirects]]
|
||||
from = "https://problems.neeldhara.blog/latest"
|
||||
to = "https://neeldhara.blog/latest"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://problems.neeldhara.blog/about"
|
||||
to = "https://neeldhara.blog/about"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
# Fix double-path issue for PROBLEMS
|
||||
[[redirects]]
|
||||
from = "https://problems.neeldhara.blog/problems/*"
|
||||
to = "https://problems.neeldhara.blog/:splat"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://problems.neeldhara.blog/*"
|
||||
to = "/problems/:splat"
|
||||
status = 200
|
||||
force = true
|
||||
|
||||
# Special redirects for global pages - PUZZLES
|
||||
[[redirects]]
|
||||
from = "https://puzzles.neeldhara.blog/latest"
|
||||
to = "https://neeldhara.blog/latest"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://puzzles.neeldhara.blog/about"
|
||||
to = "https://neeldhara.blog/about"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
# Fix double-path issue for PUZZLES
|
||||
[[redirects]]
|
||||
from = "https://puzzles.neeldhara.blog/puzzles/*"
|
||||
to = "https://puzzles.neeldhara.blog/:splat"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://puzzles.neeldhara.blog/*"
|
||||
to = "/puzzles/:splat"
|
||||
status = 200
|
||||
force = true
|
||||
|
||||
# Special redirects for global pages - REVIEWS
|
||||
[[redirects]]
|
||||
from = "https://reviews.neeldhara.blog/latest"
|
||||
to = "https://neeldhara.blog/latest"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://reviews.neeldhara.blog/about"
|
||||
to = "https://neeldhara.blog/about"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
# Fix double-path issue for REVIEWS
|
||||
[[redirects]]
|
||||
from = "https://reviews.neeldhara.blog/reviews/*"
|
||||
to = "https://reviews.neeldhara.blog/:splat"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://reviews.neeldhara.blog/*"
|
||||
to = "/reviews/:splat"
|
||||
status = 200
|
||||
force = true
|
||||
|
||||
# Special redirects for global pages - REFLECTIONS
|
||||
[[redirects]]
|
||||
from = "https://reflections.neeldhara.blog/latest"
|
||||
to = "https://neeldhara.blog/latest"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://reflections.neeldhara.blog/about"
|
||||
to = "https://neeldhara.blog/about"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
# Fix double-path issue for REFLECTIONS
|
||||
[[redirects]]
|
||||
from = "https://reflections.neeldhara.blog/reflections/*"
|
||||
to = "https://reflections.neeldhara.blog/:splat"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://reflections.neeldhara.blog/*"
|
||||
to = "/reflections/:splat"
|
||||
status = 200
|
||||
force = true
|
||||
|
||||
# Special redirects for global pages - VIBES
|
||||
[[redirects]]
|
||||
from = "https://vibes.neeldhara.blog/latest"
|
||||
to = "https://neeldhara.blog/latest"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://vibes.neeldhara.blog/about"
|
||||
to = "https://neeldhara.blog/about"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
# Fix double-path issue for VIBES
|
||||
[[redirects]]
|
||||
from = "https://vibes.neeldhara.blog/vibes/*"
|
||||
to = "https://vibes.neeldhara.blog/:splat"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://vibes.neeldhara.blog/*"
|
||||
to = "/vibes/:splat"
|
||||
status = 200
|
||||
force = true
|
||||
|
||||
# Special redirects for global pages - WORKFLOWS
|
||||
[[redirects]]
|
||||
from = "https://workflows.neeldhara.blog/latest"
|
||||
to = "https://neeldhara.blog/latest"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://workflows.neeldhara.blog/about"
|
||||
to = "https://neeldhara.blog/about"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
# Fix double-path issue for WORKFLOWS
|
||||
[[redirects]]
|
||||
from = "https://workflows.neeldhara.blog/workflows/*"
|
||||
to = "https://workflows.neeldhara.blog/:splat"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://workflows.neeldhara.blog/*"
|
||||
to = "/workflows/:splat"
|
||||
status = 200
|
||||
force = true
|
||||
|
||||
# Special redirects for global pages - MAGIC
|
||||
[[redirects]]
|
||||
from = "https://magic.neeldhara.blog/latest"
|
||||
to = "https://neeldhara.blog/latest"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://magic.neeldhara.blog/about"
|
||||
to = "https://neeldhara.blog/about"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
# Fix double-path issue for MAGIC
|
||||
[[redirects]]
|
||||
from = "https://magic.neeldhara.blog/magic/*"
|
||||
to = "https://magic.neeldhara.blog/:splat"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://magic.neeldhara.blog/*"
|
||||
to = "/magic/:splat"
|
||||
status = 200
|
||||
force = true
|
||||
|
||||
# Special redirects for global pages - CONTESTS
|
||||
[[redirects]]
|
||||
from = "https://contests.neeldhara.blog/latest"
|
||||
to = "https://neeldhara.blog/latest"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://contests.neeldhara.blog/about"
|
||||
to = "https://neeldhara.blog/about"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
# Fix double-path issue for CONTESTS
|
||||
[[redirects]]
|
||||
from = "https://contests.neeldhara.blog/contests/*"
|
||||
to = "https://contests.neeldhara.blog/:splat"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://contests.neeldhara.blog/*"
|
||||
to = "/contests/:splat"
|
||||
status = 200
|
||||
force = true
|
||||
|
||||
# Special redirects for global pages - POETRY
|
||||
[[redirects]]
|
||||
from = "https://poetry.neeldhara.blog/latest"
|
||||
to = "https://neeldhara.blog/latest"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://poetry.neeldhara.blog/about"
|
||||
to = "https://neeldhara.blog/about"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
# Fix double-path issue for POETRY
|
||||
[[redirects]]
|
||||
from = "https://poetry.neeldhara.blog/poetry/*"
|
||||
to = "https://poetry.neeldhara.blog/:splat"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://poetry.neeldhara.blog/*"
|
||||
to = "/poetry/:splat"
|
||||
status = 200
|
||||
force = true
|
||||
|
||||
# Special redirects for global pages - BLOG
|
||||
[[redirects]]
|
||||
from = "https://blog.neeldhara.blog/latest"
|
||||
to = "https://neeldhara.blog/latest"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://blog.neeldhara.blog/about"
|
||||
to = "https://neeldhara.blog/about"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
# Fix double-path issue for BLOG
|
||||
[[redirects]]
|
||||
from = "https://blog.neeldhara.blog/blog/*"
|
||||
to = "https://blog.neeldhara.blog/:splat"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
# Main blog redirect
|
||||
[[redirects]]
|
||||
from = "https://blog.neeldhara.blog/*"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue