관리자 설정의 tos_url/faq_url/privacy_url에 기본 ToS/FAQ/개인정보 처리방침이 잘못 추가되는 경우 개선

Hello. My Discourse installation was perfect until a pair days ago. I don’t know why, all of a sudden, the error “ERR_TOO_MANY_REDIRECTS” start to appears.

https://imgur.com/BIKE42U

The problem is not because the cookies. Is happening to me at my phone, at my two PC web browsers -after erase the cookies, obviously, and the cache, too-… Is a curious thing too that it only happens at this three pages, the ones related at the title. Isn’t it funny? The rest of the forum is just gorgeous! Thank, by the way, for your great doing with that platform.

The forum is not open yet. We have offered a few invitation links, but the problem started before anyone from outer world came to visit us. I say it just in case this reveals some interest… I think not.

This three pages, are related in any way, are them apart from the others? I can’t understand the situation. Why fails this three but no the rest of the forum?

Can you help me somehow with this matter? I don’t know where to start…

This is the address, if you want to try: https://laplazoleta.org/about

I can reproduce this on my site if I set the faq url or tos url site settings to the default FAQ and TOS urls for my site. Can you check your site settings to see if that is causing the problem for you? These settings should be left empty if you want to use the default URLs for these pages.

3개의 좋아요

Oh, @simon, I love you!! I didn’t associate the problem with these settings because the error occurred recently, and I only touched there at the beginning of the installation, about a month ago. I suppose I don’t visit these pages (TOS, FAQ…) often enough!

Thank you very much!

In any case, I think the explanation you can find below the small window where you can enter those values is not very clear. At least, not in Spanish. See:

https://imgur.com/LSQxgFD

It says something like: If you have a document for (privacy policy, TOS, or FAQ) hosted anywhere, put its URL here… But wouldn’t it be better to add “but leave it empty if this URL is at your Discourse installation” or something similar? I assume that by writing just a few more letters, it would be clearer for other clumsy guys—or girls—like me in the future… :stuck_out_tongue_winking_eye:

It’s an idea… Thanks! Gracias!

2개의 좋아요

This might be an error in the translation. In English it says “If you have a Terms of Service document hosted elsewhere that you want to use, provide the full URL here.” That said, maybe Discourse should handle the case when the default URLs get entered into these settings to avoid the ‘too many redirects’ issue.

2개의 좋아요

That’s right! Or maybe, to let it clearer, say: "if the place is at this same installation, let it empty. Otherwise, it can trigger the too many redirects error.

Maybe is too articulated… It can be written simpler and shorter, but the intention, I think it is by this way.

Should we write some tag or maybe write a theme at some category, to make it know to the Discourse Team this should be done, if they think appropriate? Is there a ideas place or something like that?

1개의 좋아요

가장 좋은 접근 방식은 리다이렉트 문제를 수정하여 기본 URL을 입력해도 아무 문제가 발생하지 않도록 하는 것일 것입니다. 이 주제가 사라지지 않도록 Contribute > UX 카테고리로 이동하겠습니다.

4개의 좋아요

I hit this issue today. Maybe just add an admonition to the description to say to add it only if it’s different from the default.

1개의 좋아요

Or Discourse could just handle the case. It doesn’t seem unreasonable to add the default URLs to these settings.

2개의 좋아요