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

Moving pages around the tree doesn't correctly update translated urls, leading to 404 #317

Open
olivierdalang opened this issue Nov 4, 2020 · 1 comment

Comments

@olivierdalang
Copy link
Contributor

Not exactly sure what happens, but when I move pages around the tree from the admin, it seems the URLs aren't correctly updated for all languages but the main language.

Steps to reproduce :

  • create a page /folder-a/page-1/
  • {{page.get_children.0.url}} correctly shows /en/folder-a/page-1/ and /fr/folder-a/page-1/ depending on the language
  • move the page to /folder-b/page-1/
  • {{page.get_children.0.url}} correctly shows /en/folder-b/page-1/ for main language, but still /fr/folder-a/page-1/ for the other language, which is a 404

Resaving the page seems to fix the urls.

@andruten
Copy link

andruten commented Dec 16, 2020

I'm having the same issue. As a workaround, running set_translation_url_paths command fixes the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants