I have a Hugo app hosted at https://zamaneh-splash.netlify.com/ and https://splash.radiozamaneh.com/. The app is served from the
public folder. In this
public folder I have the a
_redirects file with three rules:
# Redirect default Netlify subdomain to primary domain https://zamaneh-splash.netlify.com/* https://splash.radiozamaneh.com/:splat 301! /article https://www.example.org/article 303! # Redirect all other clients to radiozamaneh.com /* https://www.radiozamaneh.com 303
The first (and only the first) redirect rule fires correctly. The
/article redirect returns a Netlify 404 page as does every other path except the root, which correctly returns index.
This makes me think that only the first redirects rule ever fires for some reason. I’m a bit confused. Any takers?
Many thanks for you help!