Fix Netlify catch all redirections (#9717)
This commit is contained in:
parent
085c60992b
commit
4c54705ed4
1 changed files with 3 additions and 13 deletions
|
|
@ -7,26 +7,16 @@
|
|||
|
||||
[build]
|
||||
command = "make"
|
||||
|
||||
# See <https://docs.netlify.com/routing/redirects/redirect-options/> for more options
|
||||
[[redirects]]
|
||||
from = "http://docs.dev.to"
|
||||
to = "http://docs.forem.com"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://docs.dev.to"
|
||||
to = "https://docs.forem.com"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "http://docs.dev.to/*"
|
||||
to = "http://docs.forem.com/*"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[[redirects]]
|
||||
from = "https://docs.dev.to/*"
|
||||
to = "https://docs.forem.com/*"
|
||||
to = "http://docs.forem.com/:splat"
|
||||
status = 301
|
||||
force = true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue