2019-01-23 17:04:22 +00:00
|
|
|
|
2019-09-18 15:22:21 +00:00
|
|
|
# SEO redirect
|
|
|
|
[[redirects]]
|
|
|
|
from = "/documentation/contrat-salari%C3%A9/salaire/*"
|
|
|
|
to = "/documentation/contrat-salari%C3%A9/r%C3%A9mun%C3%A9ration/:splat"
|
|
|
|
status = 301
|
2019-09-06 14:38:42 +00:00
|
|
|
|
2019-01-31 16:24:57 +00:00
|
|
|
# InFrance PRODUCTION settings
|
2019-01-07 12:32:02 +00:00
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "https://www.mycompanyinfrance.fr/*"
|
|
|
|
to = "https://mycompanyinfrance.fr/:splat"
|
|
|
|
status = 301
|
2019-01-07 12:32:02 +00:00
|
|
|
|
2019-06-14 13:47:11 +00:00
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "https://www.mycompanyinfrance.com/*"
|
|
|
|
to = "https://mycompanyinfrance.fr/:splat"
|
|
|
|
status = 301
|
2019-06-14 13:47:11 +00:00
|
|
|
|
2019-07-16 09:46:48 +00:00
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "https://mycompanyinfrance.com/*"
|
|
|
|
to = "https://mycompanyinfrance.fr/:splat"
|
|
|
|
status = 301
|
2019-07-16 09:46:48 +00:00
|
|
|
|
2018-08-24 15:53:56 +00:00
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "https://mycompanyinfrance.fr/robots.txt"
|
|
|
|
to = "/robots.infrance.txt"
|
|
|
|
status = 200
|
2018-08-24 15:53:56 +00:00
|
|
|
|
2018-10-26 11:25:40 +00:00
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "https://mycompanyinfrance.fr/sitemap.txt"
|
|
|
|
to = "/sitemap.infrance.en.txt"
|
|
|
|
status = 200
|
2018-10-26 11:25:40 +00:00
|
|
|
|
2018-07-26 14:48:36 +00:00
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "https://mycompanyinfrance.fr"
|
|
|
|
to = "/prerender/infrance/index.html"
|
|
|
|
status = 200
|
2018-07-26 15:32:14 +00:00
|
|
|
|
2018-09-07 09:58:09 +00:00
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "https://mycompanyinfrance.fr/social-security/salaried"
|
|
|
|
to = "/prerender/infrance/social-security/salaried/index.html"
|
|
|
|
status = 200
|
2019-04-18 14:30:11 +00:00
|
|
|
|
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "https://mycompanyinfrance.fr/iframes/simulateur-embauche"
|
|
|
|
to = "/prerender/infrance/iframes/simulateur-embauche/index.html"
|
|
|
|
status = 200
|
2018-09-07 09:58:09 +00:00
|
|
|
|
2018-07-26 15:32:14 +00:00
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "https://mycompanyinfrance.fr/*"
|
|
|
|
to = "/infrance.html"
|
|
|
|
status = 200
|
2018-08-08 09:23:06 +00:00
|
|
|
|
2018-12-10 14:13:14 +00:00
|
|
|
# Mon-entreprise.fr PRODUCTION settings
|
2019-02-22 16:51:13 +00:00
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "https://mon-entreprise.fr/stats"
|
|
|
|
to = "https://mon-entreprise.glitch.me/"
|
|
|
|
status = 200
|
2019-02-22 16:51:13 +00:00
|
|
|
|
2018-12-10 14:13:14 +00:00
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "https://mon-entreprise.fr/robots.txt"
|
|
|
|
to = "/robots.infrance.txt"
|
|
|
|
status = 200
|
2018-12-10 14:13:14 +00:00
|
|
|
|
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "https://mon-entreprise.fr/sitemap.txt"
|
|
|
|
to = "/sitemap.infrance.fr.txt"
|
|
|
|
status = 200
|
2018-12-10 14:13:14 +00:00
|
|
|
|
2019-04-18 14:30:11 +00:00
|
|
|
|
|
|
|
# Embauche redirection settings
|
2018-08-10 06:30:44 +00:00
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "https://embauche.beta.gouv.fr/"
|
|
|
|
to = "https://mon-entreprise.fr/s%C3%A9curit%C3%A9-sociale/salari%C3%A9"
|
|
|
|
status = 301
|
2018-09-07 09:58:09 +00:00
|
|
|
|
2019-05-07 13:46:37 +00:00
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "https://embauche.beta.gouv.fr/simulation"
|
|
|
|
to = "https://mon-entreprise.fr/s%C3%A9curit%C3%A9-sociale/salari%C3%A9"
|
|
|
|
status = 301
|
2019-05-07 13:46:37 +00:00
|
|
|
|
2019-01-31 16:24:57 +00:00
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "https://embauche.beta.gouv.fr/documentation/*"
|
|
|
|
to = "https://mon-entreprise.fr/documentation/:splat"
|
|
|
|
status = 301
|
2019-01-31 16:24:57 +00:00
|
|
|
|
2019-04-18 14:30:11 +00:00
|
|
|
## Old iframe adresse
|
2018-10-18 14:36:30 +00:00
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "https://embauche.beta.gouv.fr/modules/v2/dist/simulateur.js"
|
|
|
|
to = "https://mon-entreprise.fr/simulateur-iframe-integration.js"
|
|
|
|
status = 301
|
2018-10-18 14:36:30 +00:00
|
|
|
|
2018-08-08 09:23:06 +00:00
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "https://embauche.beta.gouv.fr/dist/simulateur.js"
|
|
|
|
to = "https://mon-entreprise.fr/simulateur-iframe-integration.js"
|
|
|
|
status = 301
|
2018-08-08 11:16:43 +00:00
|
|
|
|
2019-05-15 12:41:33 +00:00
|
|
|
# Redirection pour les pages en anglais
|
2018-10-18 14:36:30 +00:00
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "/"
|
|
|
|
query = {s = "m"}
|
|
|
|
to = "/prerender/infrance/index.html"
|
|
|
|
status = 200
|
2018-10-18 14:36:30 +00:00
|
|
|
|
2018-08-08 11:16:43 +00:00
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "/*"
|
|
|
|
query = {s = "m"}
|
|
|
|
to = "/infrance.html"
|
|
|
|
status = 200
|
2018-11-13 15:47:49 +00:00
|
|
|
|
2019-05-15 12:41:33 +00:00
|
|
|
# Redirection pour les pages en français
|
2018-11-13 15:47:49 +00:00
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "/"
|
|
|
|
to = "/prerender/mon-entreprise/index.html"
|
|
|
|
status = 200
|
2019-04-18 14:30:11 +00:00
|
|
|
|
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "/s%C3%A9curit%C3%A9-sociale/salari%C3%A9"
|
|
|
|
to = "/prerender/mon-entreprise/s%C3%A9curit%C3%A9-sociale/salari%C3%A9/index.html"
|
|
|
|
status = 200
|
2019-04-18 14:30:11 +00:00
|
|
|
|
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "/iframes/simulateur-embauche"
|
|
|
|
to = "/prerender/mon-entreprise/iframes/simulateur-embauche/index.html"
|
|
|
|
status = 200
|
2019-04-18 14:30:11 +00:00
|
|
|
|
2018-11-13 15:47:49 +00:00
|
|
|
[[redirects]]
|
2019-09-18 15:22:21 +00:00
|
|
|
from = "/*"
|
|
|
|
to = "/mon-entreprise.html"
|
|
|
|
status = 200
|
2018-11-13 15:47:49 +00:00
|
|
|
|
|
|
|
[context.deploy-preview.environment]
|
2018-11-15 11:16:09 +00:00
|
|
|
EN_SITE = "${path}?s=m"
|
|
|
|
FR_SITE = "${path}"
|
2018-11-13 15:47:49 +00:00
|
|
|
|
|
|
|
[context.production.environment]
|
2018-11-15 11:16:09 +00:00
|
|
|
EN_SITE = "https://mycompanyinfrance.fr${path}"
|
2018-12-10 14:13:14 +00:00
|
|
|
FR_SITE = "https://mon-entreprise.fr${path}"
|
2019-04-10 15:37:29 +00:00
|
|
|
MASTER = 'true'
|
2019-02-12 18:20:04 +00:00
|
|
|
|
2019-04-30 14:22:14 +00:00
|
|
|
[context."demo".environment]
|
2019-02-12 18:20:04 +00:00
|
|
|
EN_SITE = "https://demo.mon-entreprise.fr${path}?s=m"
|
|
|
|
FR_SITE = "https://demo.mon-entreprise.fr${path}"
|
2019-04-30 14:22:14 +00:00
|
|
|
|