2018-10-18 14:36:30 +00:00
|
|
|
|
2018-12-07 15:39:39 +00:00
|
|
|
[[redirects]]
|
|
|
|
from = "https://indeps.netlify.com/*"
|
|
|
|
to = "/publicodes.html"
|
|
|
|
status = 200
|
2018-10-18 14:36:30 +00:00
|
|
|
# InFrance PRODUCTION settings
|
|
|
|
|
2018-08-24 15:53:56 +00:00
|
|
|
[[redirects]]
|
2018-10-18 14:36:30 +00:00
|
|
|
from = "https://mycompanyinfrance.fr/robots.txt"
|
|
|
|
to = "/robots.infrance.txt"
|
2018-08-24 16:05:16 +00:00
|
|
|
status = 200
|
2018-08-24 15:53:56 +00:00
|
|
|
|
2018-10-26 11:25:40 +00:00
|
|
|
[[redirects]]
|
|
|
|
from = "https://mycompanyinfrance.fr/sitemap.txt"
|
2018-11-13 15:47:49 +00:00
|
|
|
to = "/sitemap.infrance.en.txt"
|
2018-10-26 11:25:40 +00:00
|
|
|
status = 200
|
|
|
|
|
2018-07-26 14:48:36 +00:00
|
|
|
[[redirects]]
|
2018-10-18 14:36:30 +00:00
|
|
|
from = "https://mycompanyinfrance.fr"
|
|
|
|
to = "/prerender/infrance/index.html"
|
2018-07-26 15:32:14 +00:00
|
|
|
status = 200
|
|
|
|
|
2018-09-07 09:58:09 +00:00
|
|
|
[[redirects]]
|
2018-11-13 15:47:49 +00:00
|
|
|
from = "https://mycompanyinfrance.fr/social-security"
|
2018-10-18 14:36:30 +00:00
|
|
|
to = "/prerender/infrance/social-security/index.html"
|
2018-09-07 09:58:09 +00:00
|
|
|
status = 200
|
|
|
|
|
2018-07-26 15:32:14 +00:00
|
|
|
[[redirects]]
|
|
|
|
from = "https://mycompanyinfrance.fr/*"
|
2018-07-26 14:53:58 +00:00
|
|
|
to = "/infrance.html"
|
|
|
|
status = 200
|
2018-08-08 09:23:06 +00:00
|
|
|
|
2018-12-10 14:13:14 +00:00
|
|
|
# Mon-entreprise.beta PRODUCTION settings (temporary)
|
2018-11-13 15:47:49 +00:00
|
|
|
[[redirects]]
|
|
|
|
from = "https://mon-entreprise.beta.gouv.fr/robots.txt"
|
|
|
|
to = "/robots.infrance.txt"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "https://mon-entreprise.beta.gouv.fr/sitemap.txt"
|
|
|
|
to = "/sitemap.infrance.fr.txt"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "https://mon-entreprise.beta.gouv.fr"
|
|
|
|
to = "/prerender/mon-entreprise/index.html"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "https://mon-entreprise.beta.gouv.fr/sécurité-sociale"
|
|
|
|
to = "/prerender/mon-entreprise/sécurité-sociale/index.html"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "https://mon-entreprise.beta.gouv.fr/*"
|
|
|
|
to = "/mon-entreprise.html"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
|
2018-12-10 14:13:14 +00:00
|
|
|
# Mon-entreprise.fr PRODUCTION settings
|
|
|
|
[[redirects]]
|
|
|
|
from = "https://mon-entreprise.fr/robots.txt"
|
|
|
|
to = "/robots.infrance.txt"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "https://mon-entreprise.fr/sitemap.txt"
|
|
|
|
to = "/sitemap.infrance.fr.txt"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "https://mon-entreprise.fr"
|
|
|
|
to = "/prerender/mon-entreprise/index.html"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "https://mon-entreprise.fr/sécurité-sociale"
|
|
|
|
to = "/prerender/mon-entreprise/sécurité-sociale/index.html"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "https://mon-entreprise.fr/*"
|
|
|
|
to = "/mon-entreprise.html"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
|
2018-10-18 14:36:30 +00:00
|
|
|
# Embauche PRODUCTION settings
|
|
|
|
[[redirects]]
|
|
|
|
from = "https://embauche.beta.gouv.fr/stats"
|
|
|
|
to = "https://rough-college.glitch.me/"
|
|
|
|
status = 200
|
2018-09-07 09:58:09 +00:00
|
|
|
|
2018-08-10 06:30:44 +00:00
|
|
|
[[redirects]]
|
2018-08-10 08:51:45 +00:00
|
|
|
from = "https://embauche.beta.gouv.fr/modules/v2/*"
|
|
|
|
to = "/:splat"
|
2018-08-10 06:30:44 +00:00
|
|
|
|
2018-09-07 09:58:09 +00:00
|
|
|
[[redirects]]
|
|
|
|
from = "https://embauche.beta.gouv.fr/robots.txt"
|
|
|
|
to = "/robots.embauche.txt"
|
|
|
|
status = 200
|
|
|
|
|
2018-10-18 14:36:30 +00:00
|
|
|
[[redirects]]
|
|
|
|
from = "https://embauche.beta.gouv.fr/"
|
|
|
|
to = "/prerender/embauche/index.html"
|
|
|
|
status = 200
|
|
|
|
|
2018-08-08 09:23:06 +00:00
|
|
|
[[redirects]]
|
|
|
|
from = "https://embauche.beta.gouv.fr/*"
|
|
|
|
to = "/embauche.html"
|
|
|
|
status = 200
|
2018-08-08 11:16:43 +00:00
|
|
|
|
2018-10-18 14:36:30 +00:00
|
|
|
# Redirect for embauche in staging and development settings
|
|
|
|
[[redirects]]
|
|
|
|
from = "/"
|
|
|
|
query = {s = "e"}
|
|
|
|
to = "/prerender/embauche/index.html"
|
|
|
|
status = 200
|
|
|
|
|
2018-08-08 11:16:43 +00:00
|
|
|
[[redirects]]
|
|
|
|
from = "/*"
|
2018-08-30 16:16:28 +00:00
|
|
|
query = {s = "e"}
|
2018-08-08 11:16:43 +00:00
|
|
|
to = "/embauche.html"
|
|
|
|
status = 200
|
|
|
|
|
2018-11-13 15:47:49 +00:00
|
|
|
# Redirect to mycompanyinfrance in staging and development settings
|
2018-10-18 14:36:30 +00:00
|
|
|
[[redirects]]
|
|
|
|
from = "/"
|
2018-11-13 15:47:49 +00:00
|
|
|
query = {s = "m"}
|
2018-10-18 14:36:30 +00:00
|
|
|
to = "/prerender/infrance/index.html"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/social-security"
|
2018-11-13 15:47:49 +00:00
|
|
|
query = {s = "m"}
|
2018-10-18 14:36:30 +00:00
|
|
|
to = "/prerender/infrance/social-security/index.html"
|
|
|
|
status = 200
|
|
|
|
|
2018-08-08 11:16:43 +00:00
|
|
|
[[redirects]]
|
|
|
|
from = "/*"
|
2018-11-13 15:47:49 +00:00
|
|
|
query = {s = "m"}
|
2018-08-08 11:16:43 +00:00
|
|
|
to = "/infrance.html"
|
|
|
|
status = 200
|
2018-11-13 15:47:49 +00:00
|
|
|
|
|
|
|
# Redirect to mon-entreprise in staging and development settings
|
|
|
|
[[redirects]]
|
|
|
|
from = "/"
|
|
|
|
to = "/prerender/mon-entreprise/index.html"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/sécurité-sociale"
|
|
|
|
to = "/prerender/mon-entreprise/sécurité-sociale/index.html"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/*"
|
|
|
|
to = "/mon-entreprise.html"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[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}"
|