-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
53 lines (45 loc) · 968 Bytes
/
netlify.toml
File metadata and controls
53 lines (45 loc) · 968 Bytes
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
[build]
command = "hugo --gc --minify"
publish = "public"
[build.environment]
HUGO_VERSION = "0.126.1"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
# Canonical: www -> non-www
[[redirects]]
from = "https://www.tblogisticasrl.net/*"
to = "https://tblogisticasrl.net/:splat"
status = 301
force = true
# Vecchi slug -> nuove sezioni
[[redirects]]
from = "/contact"
to = "/contatti/"
status = 301
force = true
[[redirects]]
from = "/services"
to = "/#servizi"
status = 301
force = true
# Galleria: qualunque tentativo /galleria o /gallery va all’anchor in home
[[redirects]]
from = "/galleria"
to = "/#galleria"
status = 301
force = true
[[redirects]]
from = "/galleria/"
to = "/#galleria"
status = 301
force = true
[[redirects]]
from = "/gallery"
to = "/#galleria"
status = 301
force = true
[[redirects]]
from = "/gallery/"
to = "/#galleria"
status = 301
force = true