Fix robot txt for embauche
parent
f0fa59bec3
commit
6269f3e96e
12
netlify.toml
12
netlify.toml
|
@ -8,20 +8,32 @@ from = "https://infrance.org/*"
|
|||
to = "/infrance.html"
|
||||
status = 200
|
||||
|
||||
[[redirects]]
|
||||
from = "https://mycompanyinfrance.fr/robots.txt"
|
||||
to = "/robots.infrance.txt"
|
||||
status = 200
|
||||
|
||||
[[redirects]]
|
||||
from = "https://mycompanyinfrance.fr/*"
|
||||
to = "/infrance.html"
|
||||
status = 200
|
||||
|
||||
|
||||
[[redirects]]
|
||||
from = "https://embauche.beta.gouv.fr/modules/v2/*"
|
||||
to = "/:splat"
|
||||
|
||||
[[redirects]]
|
||||
from = "https://embauche.beta.gouv.fr/robots.txt"
|
||||
to = "/robots.embauche.txt"
|
||||
status = 200
|
||||
|
||||
[[redirects]]
|
||||
from = "https://embauche.beta.gouv.fr/*"
|
||||
to = "/embauche.html"
|
||||
status = 200
|
||||
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
query = {s = "e"}
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
User-agent: *
|
||||
Disallow:
|
|
@ -100,7 +100,8 @@ module.exports = {
|
|||
new CopyPlugin([
|
||||
'./manifest.webmanifest',
|
||||
'./source/sites/embauche.gouv.fr/images/logo',
|
||||
'./robots.txt'
|
||||
{ from: './source/sites/embauche.gouv.fr/robots.txt', to: 'robots.embauche.txt' },
|
||||
{ from: './source/sites/mycompanyinfrance.fr/robots.txt', to: 'robots.infrance.txt' },
|
||||
])
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue