The discussion centers around issues with the relative_url_root setting in Discourse, specifically when set to /forum. akvadrako reported two issues in version 2.6.0.beta1:
The “Latest” link on the main page points to /latest instead of /forum/latest, although the link works.
Links to categories without a trailing number, like /forum/c/staff, redirect to /forum/forum/c/staff/3.
akvadrako confirmed these issues persist in the latest version. pfaffman reported a similar issue with admin confirmation links having a duplicated relative_url_root on version 2.5.0.
techAPJ fixed the category link issue and reported being unable to reproduce the “Latest” link issue on the latest Discourse version. pfaffman sought help understanding the confirm_admin_url definition to confirm the bug in version 2.5.0. techAPJ replied, referencing a related topic and GitHub code.
I am using discourse 2.6.0.beta1 with relative_url_root = /forum and I have noticed a couple issues.
One issue is that several links, for example “Latest” on the main page, point to /latest instead of /forum/latest. The links do work, but the status bar shows the incorrect value when hovering.
Another issue is that I was trying to see if I could make links to categories without the trailing number, like /forum/c/staff. This doesn’t work because it redirects to /forum/forum/c/staff/3.
They are not major problems, but I thought I would report them since it doesn’t seem like they are known bugs.
Thanks, Arpit. These people (whose installation I’m not managing) are on 2.5.0. Can you help me understand where confirm_admin_url gets defined so that I can confirm that it’s a bug in their version of Discourse?