# 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.elfhosted.com/js/plausible.outbound-links.js 200
/js/i-am-groot-hash.js  https://plausible.elfhosted.com/js/script.hash.outbound-links.js 200
/api/event              https://plausible.elfhosted.com/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/
