(bool) Whether to disable generation of alias redirects. Even if this option is enabled, the defined aliases will still be present on the page. This allows you to manage redirects separately, for example, by generating 301 redirects in an .htaccess file or a Netlify _redirects file using a custom output format. Default is false.
Right — and to clarify, even when disableAliases = true, aliases explicitly defined in front matter are still accessible in .Aliases. That’s how I’m handling all other redirects (as shown in the code I posted), and it’s working as expected.
The issue isn’t with defined aliases or server restarts.
The actual question is:
Where can I access pagination-generated aliases like /blog/page/1/, /blog/categories/foo/page/1/, etc.? These aren’t explicitly defined in content or front matter, and they don’t appear in .Aliases.
So:
Why don’t pagination aliases show up in .Aliases?
Is there another Hugo property or data structure where these are exposed so I can include them in _redirects?