-
Notifications
You must be signed in to change notification settings - Fork 0
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
No redirect when switching language between 2 translation of boxes page #187
Comments
That dropdown gets populated by Could you check what that query returns on your setup? You should get a list of all pages that belong to the site that is marked as primary. In that dropdown you can select what pages belong together so redirects between sites work correctly. |
I traced the following query :
It return an empty array whereas I have several pages on the different sites, do I have to check another setting in the backend in order to make pages appears in that list ? |
Thank you for testing this, @Zmove! Could you check which clause on the query makes it return no results? Either Page::withoutGlobalScope(MultisiteScope::class)->get() or Page::currentDrafts($useSite)->get() should return something. So it is either the |
return results
return empty array |
@Zmove can you check your According to your db dump, you mostly have pages on the sites 3-7. The dropdown selects the pages from your "primary site". So if for example a Site 1 exists, and it is set as primary, but has no pages attached, the dropdown will be empty. |
Describe the bug
I have a website in 2 language, french and english. I created a box page for the french website, and the translation for the english website.
My french page have /page-fr url, the english page have /page-en url.
If I browse my website in french, go to my french page, no problem.
But if I switch the website language whereas I'm on the french page, I'm redirected to the 404 page because I'm on the english website, domain changed, but the page url page-fr and not page-en. The url has not been converted to use the english url
Boxes Version
3.6.43
To Reproduce
Best regards,
The text was updated successfully, but these errors were encountered: