I’ll mention that although when the Antora based site was set up Antora didn’t have the option to generate .htaccess files from `page-aliases`, it does now.
David Jencks > On Jun 9, 2020, at 7:27 AM, David Jencks <david.a.jen...@gmail.com> wrote: > > Hi Peter, > > Did you build just the camel-quarks component of the website locally? The > camel-website playbook has > > `urls: > redirect_facility: disabled > ` > so :page-aliases: is basically turned off for the entire site. > > Can we fix this? page-aliases are really useful. I can think of two > possibilities: > > - use static bounce pages. Inneficient but easy. > > - let Antora generate an .htaccess file and script something to include the > contents in the handmade .htaccess file. > > Well, there’s a third, which doesn’t seem popular…. > > - generate the whole site with Antora. > > Thanks > David Jencks > >> On Jun 9, 2020, at 6:23 AM, Peter Palaga <ppal...@redhat.com >> <mailto:ppal...@redhat.com>> wrote: >> >> Hi, >> >> I thought it was enough to set :page-aliases: in AsciiDoc as in [1] (because >> it worked when I tested locally) but apparently it does not work on >> camel.apache.org <http://camel.apache.org/>: >> >> https://camel.apache.org/camel-quarkus/latest/first-steps.html >> <https://camel.apache.org/camel-quarkus/latest/first-steps.html> should >> redirect to >> https://camel.apache.org/camel-quarkus/latest/user-guide/first-steps.html >> <https://camel.apache.org/camel-quarkus/latest/user-guide/first-steps.html> >> but does not. >> >> Anybody please knows how to fix this? >> >> [1] >> https://github.com/apache/camel-quarkus/blame/master/docs/modules/ROOT/pages/user-guide/first-steps.adoc#L2 >> >> <https://github.com/apache/camel-quarkus/blame/master/docs/modules/ROOT/pages/user-guide/first-steps.adoc#L2> >> >> Thanks, >> >> -- Peter >> >