Links to segments not working

I have a bunch of links constructed like this:

https://suttacentral.net/pli-tv-kd15/en/brahmali#8.1.1

These links used to take me to the segment in the text, but I’ve done a hard refresh of my browser and these no longer work.

If I include ?reference=main, so it looks like this:

https://suttacentral.net/pli-tv-kd15/en/brahmali?reference=main#8.1.1

It works fine, which makes sense. But I just wanted to confirm if this is how I should construct my links now, and the old way I was doing it is obsolete?

3 Likes

That’s a bug, thanks for pointing it out.

For me it works in Chrome, but not in Firefox.

@HongDa can you look into this? We should make sure this works properly in all browsers.

No, there should be no need. The idea is that you only need the text and segment number, all else should inherit your browser settings (unless you want to specify the settings in the URL, which is why it has those attributes.)


Oh well, I can take solace in the fact that on my Ubuntu I can no longer even open Firefox, after testing just now it refuses to do anything. How is it that on a Linux machine FF doesn’t even open? Thanks Canonical you’ve made FF unusable in a snap!

1 Like

Both versions of the links work fine for me in FireFox (115.0, latest version atm). Also in different views (side-by-side, with/without notes).

1 Like

A new feature added a few days ago caused this error, I fixed it yesterday :pray:

5 Likes

I found in FireFox it worked for me, until I tried it in a private tab, and then it did not.

So when you are testing you might want to try it in a private tab if you aren’t already.

1 Like

Probably because private tabs bypass the local cache and get the latest JS, etc files

1 Like

Sorry, I found another cause of this bug, now fixed and pushed to the production server :pray:

4 Likes

All working great again for me. Thank you! :heart:

3 Likes