Issues with the new suttacentral website

Thanks for your response Bhante,

I’m not quite ready to crack on this issue, however something propped up whilst I let that question be.

Basically, it depends on how the site handles http 404 errors, and how we could use that to our benefit.

So, not knowing how it works under the wood, I wonder if it would be possible to customise the content shown on http 404 error, and possibly to do url manipulation to show (valid) url(s) that could be derived form the “wrong” url?

This way we don’t make the decision for the end user, but we can offer a panel of options on potential places he may want to go to?

1 Like

Yes, I’ve thought of something similar.

We could take:

/en/mn2

And convert it to:

/mn2/en/sujato

First we’d have to teach it to recognize ISO language codes. We only use about 40 of them, so that shouldn’t be too hard.

Then snip the code out from where it is an put it after the ID. Not sure how hard that is, but okay.

Then the author. This gets tricky if we have to run through a list and find who the author of that particular text is. With over 70,000 texts it gets gnarly fast. We can do a quick and dirty fix by just putting my translations for the 4 nikayas in English. That would cover a lot of the existing links, but it wouldn’t fix all the problems.

Anyway, our devas know this stuff best, let’s hope they come up with something.

3 Likes

We almost agree.

Almost :wink: .

As I’m still inclining toward pointing to the sutta card, so the decision is left to the end user, and we don’t add any complexity at the system level :d .

I tend to do that whenever possible. Push out the decision process whenever possible, so I don’t actually add my own assumptions in the system :anjal:

1 Like

Yes, fair enough, that is probably the most practical solution.

4 Likes

I am super low tech too Dheerayupa. The browser I use, Safari, is not working for me on my computer either :cry:

2 Likes

We believe we have a fix for the Safari problem, please try again in a few days. Meanwhile https://legacy.suttacentral.net/ is still there!

3 Likes

Issue with the bigger header on D&D when not logged in fixed too.

3 Likes

Google chrome mobile does not work well with discourse site.

1 Like

The Discourse site has not changed at all. Only the way it looks has changed. If you want to revert back to the old theme, go to your Preferences --> Interface and change the theme to ‘SC legacy theme’ and press SAVE at the bottom.

Another thing you can do is find the app for Discourse in the Google playstore or iTunes and use that.

3 Likes

You can find any sutta by going to suttacentral.net and in the menu click on SUTTA, then select which collection you want (MIDDLE for MN), then click on ‘Majjhima Nikaya’. Then you will get a suttaplex list with all the MN suttas and you can select which one you want and which translation.

You can also refine the number of suttas you get by clicking on the right-arrow next to ‘Majjhima Nikaya’.

Hope this helps!

Oh that would be so great, thanks. Will keep checking. BTW, even though Discourse works, I can no longer bookmark posts (trying to save some that have tips for doign things since I’ll never remember). Guess I’m living in the wrong century (this time around)… I seem to be useless with anything technical…

2 Likes

Having a bunch of dead links out there on various forums and in bookmarks kind of scares me as a web guy.

Not only is it kind of bad user experience, but any sort of search engine “juice” (links, etc.) to those pages won’t flow anymore. And we all know, he who controls the spice…

Redirects shouldn’t be too hard, most webservers allow some redirect rules, but you’ll most likely have to use the dreaded regex. 40 languages is a lot of rules, I would imagine most links out there are English though, but 40 many times over makes for a kind of overwhelming config file… unless you have a regex wizard on hand — they could probably conjure something up.

Another suggestion if I may — a more useful/friendly 404 page. “Didn’t find what you’re looking for? Try this search function or browse the directory here”… something like that.

2 Likes

Yes, this is a known issue and we are working on it. We hope to roll that out in the next week.

You should be able to bookmark things by clicking on the three horizontal dots below the post and then the full menu (including the bookmark) should appear. Let me know if that works for you.

Google’s results won’t update themselves overnight. It’s not magic! Give things a few days to settle down.

Me too. Fixing this is our number 1 priority. Please be patient, it won’t take too long.

5 Likes

Now I’m craving an authenticity rating for each Sutta.

Thank you for keeping us informed about the timescale. Knowing that is important to people with dead links on their sites, so they can decide whether to wait, or modify the links.

:heart:

3 Likes

Indeed. Don’t forget, we have the same issue here on D&D! I’d say that if someone has the ability to simply make changes in bulk with a regex, then go ahead. But if it’s a matter of changing things by hand, just wait, a fix is in the works. We really do appreciate your patience!

6 Likes

Hey hey, an Android phone is the only device I possess, the donations button doesn’t work for me.

2 Likes

@Vimala
Thanks Ayya. That’s what I tried before I reported it. Is the bookmark, when you click it, suppose to turn color like previoulsy? Before it would turn color and say “you have bookmarked this post” (or something like that). Now nothing happens.

Thanks to all of you who are working on all these issues :anjal:

2 Likes

I just tried it and yes, it changes color but not very visably. It becomes a slightly lighter shade of grey. But when you go to your bookmarks it is there.

But once you’ve bookmarked it and you hover over the bookmark symbol, it says: You have bookmarked this post.

1 Like