mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 15:05:50 +00:00
Redirect doc - docs
This commit is contained in:
parent
a567d620f1
commit
51e6a2a60c
@ -69,7 +69,7 @@ module.exports = {
|
||||
{
|
||||
resolve: `gatsby-plugin-purgecss`,
|
||||
options: {
|
||||
printRejected: false,
|
||||
printRejected: true,
|
||||
whitelist: ['algolia-autocomplete'],
|
||||
ignore: ['prismjs/','docsearch.js/', 'src/theme/assets/search/algolia.css'],
|
||||
content: [
|
||||
|
@ -1,3 +1,9 @@
|
||||
[[redirects]]
|
||||
from = "https://doc.silverstripe.org/*"
|
||||
to = "https://docs.silverstripe.org/:splat"
|
||||
force = true
|
||||
status = 301
|
||||
|
||||
[[redirects]]
|
||||
from = "/"
|
||||
to = "/en/4/"
|
||||
@ -8,7 +14,7 @@
|
||||
|
||||
[[redirects]]
|
||||
from = "/en/4/getting_started/installation/common_problems"
|
||||
to = "/en/4/getting_started/common_problems/"
|
||||
to = "/en/4/getting_started/"
|
||||
|
||||
[[redirects]]
|
||||
from = "/en/4/getting_started/installation/server_requirements"
|
||||
@ -21,3 +27,4 @@
|
||||
[[redirects]]
|
||||
from = "/en/3/getting_started/installation/server_requirements"
|
||||
to = "/en/3/getting_started/server_requirements/"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user