mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-26 17:16:11 -05:00
Add -redirect tags + reorder
This commit is contained in:
parent
5fa9c6a05f
commit
d936d0d9c4
1 changed files with 18 additions and 18 deletions
|
@ -133,18 +133,6 @@
|
|||
"view": "guidelines/guidelines",
|
||||
"title": "Scratch Community Guidelines"
|
||||
},
|
||||
{
|
||||
"name": "help",
|
||||
"pattern": "^/help/?(\\?.*)?$",
|
||||
"routeAlias": "/help/?(\\?.*)?$",
|
||||
"redirect": "/tips"
|
||||
},
|
||||
{
|
||||
"name": "hoc",
|
||||
"pattern": "^/hoc/?(\\?.*)?$",
|
||||
"routeAlias": "/hoc/?\\??",
|
||||
"redirect": "/tips"
|
||||
},
|
||||
{
|
||||
"name": "jobs",
|
||||
"pattern": "^/jobs/?$",
|
||||
|
@ -257,12 +245,6 @@
|
|||
"view": "terms/terms",
|
||||
"title": "Scratch Terms of Use"
|
||||
},
|
||||
{
|
||||
"name": "things-to-try",
|
||||
"pattern": "^/go/?(\\?.*)?$",
|
||||
"routeAlias": "/go/?\\??",
|
||||
"redirect": "/tips"
|
||||
},
|
||||
{
|
||||
"name": "tips",
|
||||
"pattern": "^/tips/?(\\?.*)?$",
|
||||
|
@ -301,6 +283,18 @@
|
|||
"routeAlias": "/explore(?!/ajax)",
|
||||
"redirect": "/explore/studios/all"
|
||||
},
|
||||
{
|
||||
"name": "help-redirect",
|
||||
"pattern": "^/help/?(\\?.*)?$",
|
||||
"routeAlias": "/help/?(\\?.*)?$",
|
||||
"redirect": "/tips"
|
||||
},
|
||||
{
|
||||
"name": "hoc-redirect",
|
||||
"pattern": "^/hoc/?(\\?.*)?$",
|
||||
"routeAlias": "/hoc/?\\??",
|
||||
"redirect": "/tips"
|
||||
},
|
||||
{
|
||||
"name": "info-redirect",
|
||||
"pattern": "^/info/?(\\?.*)?$",
|
||||
|
@ -323,5 +317,11 @@
|
|||
"pattern": "^/store/?$",
|
||||
"routeAlias": "/store",
|
||||
"redirect": "https://scratch-foundation.myshopify.com"
|
||||
},
|
||||
{
|
||||
"name": "things-to-try-redirect",
|
||||
"pattern": "^/go/?(\\?.*)?$",
|
||||
"routeAlias": "/go/?\\??",
|
||||
"redirect": "/tips"
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue