aureliojargas / aurelio.net

Sources for Aurelio.net website
26 stars 6 forks source link

Fix folder redirects #47

Closed aureliojargas closed 5 years ago

aureliojargas commented 5 years ago

In old Apache, using /foo /bar is enough to redirect all requests to /foo and its subfolders and files to /bar, for example, /foo/abc.html becomes /bar/abc.html.

But in Netlify, this same redirect is applied only for the /foo folder itself, not its children. You have to explicitly say /foo/* /bar/:splat to get the same behavior as Apache.

I migrated the redirect rules from Apache to Netlify without taking that into account. So I need to review all the folder redirects and fix where needed.

aureliojargas commented 5 years ago

Done.