forked from geek-cookbook/geek-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify_redirects.txt
35 lines (26 loc) · 1.43 KB
/
netlify_redirects.txt
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
# Because "Geek" is a singular
https://geeks-cookbook.funkypenguin.co.nz/* https://geek-cookbook.funkypenguin.co.nz/:splat 301!
# Because it took me about a year to realize I was spelling "Recipes" wrong!
/recipies/* /recipes/:splat 301!
# Recipes is plural
/recipe/* /recipes/:splat 301!
# Proxy plausible analytics per https://plausible.io/docs/proxy/guides/netlify
/js/i-am-groot.js https://plausible.io/js/plausible.outbound-links.js 200
/api/event https://plausible.io/api/event 202
# Now we have indexes on subfolders, we can use a better URL for docker-swarm
# /docker-swarm/design /docker-swarm 301!
/ha-docker-swarm/design /docker-swarm 301!
# Prefer "docker-swarm" to "ha-docker-swarm"
/ha-docker-swarm/* /docker-swarm/:splat 301!
# Consolidate previous category pages with the new blog plugin
/changelog/ /blog/category/changelog/ 301!
/recent-changes/ /blog/category/changelog/ 301!
/reviews/ /blog/category/reviews/ 301!
# Use a better convention for RSS feed (could add more if necessary)
/rss/ /feed_rss_created.xml
# Old URLs which we need to redirect to working URLs
/kubernetes/start/ /kubernetes/ 301!
/kubernetes/diycluster/ /kubernetes/cluster/ 301!
/recipes/autopirate/mylarr/ /recipes/autopirate/mylar/ 301!
/review/immich /blog/2022/11/10/review-immich-1.19.1/ 301!
/review/mastodon /blog/2022/11/10/review-mastodon-3.5.3/