Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Multilanguage redirect to 500 #6660
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
When user is on other languages, for example Spanish, the link to blog page says
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.
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.