Relative_url_root issues – incorrect "Latest" link, incorrect redirect

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.

4 Likes

Subfolder issues do creep in. Are you on latest?

1 Like

I have just upgraded to latest and I see the same behavior.

4 Likes

I’m seeing admin confirmation links with the relaztive_url_root duplicated on 2.5.0.

1 Like

Fixed via:

https://github.com/discourse/discourse/commit/32d6286bea8140329d4248f30877240244330636

I’m unable to repro both of the above issues on latest Discourse version.

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?

Thanks.

1 Like

I just replied on above topic. :slight_smile:

1 Like