#91623Migration from RealURL to normal V9 Slugs: Folders are preferred over pages
Description
While Migrating a page from V8 to V9 i found out, that – if a folder structure looks the same like a page structure, the folder structure is converted first to slugs. That is a big problem, because the normal page links won’t work anymore.
Example:
Old page:
folder (/datensätze/hilfe) = No slug
page (hilfe) = /de/hilfe
After upgrade
folder (/datensätze/hilfe) = /de/hilfe
page (hilfe) = /de/hilfe-1
I don’t think folders need slugs, so the slugs should be disabled by default and only activated if needed.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 8
-
Oliver Hader commented and changed target version 06/17/20, 17:18
-
Oliver Hader changed status
NewNeeds Feedback Tags pending-close 06/17/20, 17:19 -
Lukas Dörr commented 06/18/20, 08:20
Oliver Hader wrote:
> Since a “folder” is technically a “page” as well, it has a slug. Besides that, it is possible to change the type of a “folder” back to e.g. “standard page”.
>
> However, it is possible to rename the auto-generated slug from/datensaetze/hilfeto/hilfe.So, when there is a page with like 3000 pages, and 1500 of them are data in folders, we need to do this by hand?
What about my idea, making pages with more preferred by migrating than folders?
-
Stephan Auer commented 07/15/20, 13:36
I would like to agree with Lukas here. A frequently occurring example: A news overview with the page title “News”. At the same time a storage folder, also with the name “News”. This leads to manual corrections in many upgrades.
Additionally with the side-effect that both entries get the slug “news” (i.e. without numbering). That means you get the non-existing folder contents.Tested on TYPO3 10.4.5
-
Lukas Dörr commented 07/15/20, 13:44
Stephan Auer wrote:
> I would like to agree with Lukas here. A frequently occurring example: A news overview with the page title “News”. At the same time a storage folder, also with the name “News”. This leads to manual corrections in many upgrades.
> Additionally with the side-effect that both entries get the slug “news” (i.e. without numbering). That means you get the non-existing folder contents.
>
> Tested on TYPO3 10.4.5Another good example, why there needs to be something more useful, than changing it manually. How i said, whats about creating something like “pages will be preferred to folders at update”?
-
Lukas Dörr changed Tags
pending-close08/20/20, 10:42 -
Georg Ringer changed Sprint Focus Needs Decision 06/20/24, 08:44
-
Georg Ringer commented and changed status
Needs FeedbackClosed 08/03/24, 07:02hey!
as the change would need to go to versions which are not supported anymore I am closing the issue
Since a “folder” is technically a “page” as well, it has a slug. Besides that, it is possible to change the type of a “folder” back to e.g. “standard page”.
However, it is possible to rename the auto-generated slug from
/datensaetze/hilfeto/hilfe.