-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
124 lines (101 loc) · 2.49 KB
/
Copy pathnetlify.toml
File metadata and controls
124 lines (101 loc) · 2.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# Global settings applied to the whole site.
#
# [publish] is the directory to publish (relative to root of your repo),
# [command] is your build command,
# [base] is directory to change to before starting build. if you set base:
# that is where we will look for package.json/.nvmrc/etc not repo root!
[build]
base = ""
publish = "public/"
command = "export NODE_OPTIONS=--max_old_space_size=8192 && gatsby build"
[build.environment]
WORDPRESS_HOST = "admin.tobiemarierrobitaille.com"
WORDPRESS_USER = "admin"
WORDPRESS_PASS = "zDjxF9kSZk@IntVG5xRH!YY@"
PROTOCOL = "https"
SITE_URL="https://tobiemarierrobitaille.com"
# # Specific branch context: Deploys from this branch
# # will take these settings and override their
# # current ones.
# [context.feature]
# command = "make feature"
[[redirects]]
from = "https://marierrobitaille.com"
to = "https://tobiemarierrobitaille.com"
status = 301
[[redirects]]
from = "https://www.marierrobitaille.com"
to = "https://tobiemarierrobitaille.com"
status = 301
[[redirects]]
from = "http://marierrobitaille.com"
to = "https://tobiemarierrobitaille.com"
status = 301
[[redirects]]
from = "http://www.marierrobitaille.com"
to = "https://tobiemarierrobitaille.com"
status = 301
[[redirects]]
from = "https://marierrobitaille.com/*"
to = "https://tobiemarierrobitaille.com/:splat"
status = 301
[[redirects]]
from = "/admin"
to = "https://admin.tobiemarierrobitaille.com/wp-admin/"
status = 302
[[redirects]]
from = "/fr/accueil/"
to = "/fr/"
status = 301
[[redirects]]
from = "/en/home/"
to = "/en/"
status = 301
[[redirects]]
from = "/fr/contact/"
to = "/fr/a-propos/"
status = 301
[[redirects]]
from = "/en/contact-20/"
to = "/en/about/"
status = 301
[[redirects]]
from = "/en/photos/"
to = "/en/"
status = 301
[[redirects]]
from = "/fr/photos/"
to = "/fr/"
status = 301
[[redirects]]
from = "/en/demo/"
to = "/en/"
status = 301
[[redirects]]
from = "/fr/demo/"
to = "/fr/"
status = 301
[[redirects]]
from = "/fr/movie/"
to = "/fr/"
status = 301
[[redirects]]
from = "/1/photo/paysages.html"
to = "/en/"
status = 301
[[redirects]]
from = "/fr/photo/paysages.html"
to = "/fr/"
status = 301
[[redirects]]
from = "/en/photos/selected-work.html"
to = "/en/"
status = 301
[[redirects]]
from = "/fr/movie/article/documentaire.html"
to = "/fr/"
status = 301
[[redirects]]
from = "/fr/movie/article/fiction.html"
to = "/fr/"
status = 301