Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multilanguage redirect to 500 #6660

Open
chris542 opened this issue Mar 28, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@chris542
Copy link

commented Mar 28, 2019

Summary

We have 'Remove URL language prefix for default language' turned on in Aldryn-Django addon from Divio Control Panel, which disables /en/ prefix from our url.

There are some pages we have no translations for, hence, we tried redirecting other languages to redirect to our default language by having /en/blog in page advanced settings.

When user is on other languages, for example Spanish, the link to blog page says /en/blog. This expects user to redirect to English version of our blog page, however, we get 500 error.
Though, when the page is refreshed, the page reloads successfully.

Expected behaviour

When user clicks on a link that has a redirect to other language, they should be redirected to correct page without having to refresh after 500 error.

Actual behaviour

When user clicks on a link that has a redirect to other language, they see error 500. They need to refresh the page again to be redirected successfully.

Environment

  • Python version: 3.6.3
  • Django version: 1.11.20
  • django CMS version:3.5.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.