Project

General

Profile

Actions

Epic #84729

closed

Epic #84726: Initiative: URL Routing Integration / Site Handling

Epic #84728: Introduce speaking URLs for pages

Implement "slug" handling for pages and other records

Added by Benni Mack about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Link Handling, Site Handling & Routing
Target version:
Start date:
2018-08-23
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Sprint Focus:

Description

1. Create a new pages DB field "slug" ("URL path")

2. Create a new TCA type "type=slug"
- FormEngine: renders an input field and validates against URI schemes (JS validation), prepends the current / configured site to get the full URL
- Also Consider (Copy 1) in pages etc. so they get a "-1" and not a "-copy1"
- Validate for "Uniqueness" on save (or before?)
- TCA type "slug":
type = 'slug'
config [
'valueFields' => ['a-field-from-the-same-table', 'another-field'], - special key "site-rootline"
'fieldSeparator' => '/' => (so you could do /year/month/title/uid')
'custom' => Userfunc?
]

Open topics:
- discuss if slugs always need a prepending or a appending slash?
- Should we still allow ?id=123 ?

3. Create a CLI command to create slugs for pages (or all TCA tables) - allow to migrate from realurl?
4. Create an upgrade wizard that does the same
5. Ensure that all pages within a site have a slug - possible?
6. Handle things like "moving a page to a different site"


Subtasks 6 (0 open6 closed)

Task #85937: Generate default slug for entities not being submitted via FormEngineClosed2018-08-23

Actions
Task #85938: Handle renaming of "base" property of a siteRejected2018-08-23

Actions
Bug #85957: Pages on root level cannot be created nowClosedBenni Mack2018-08-23

Actions
Bug #86073: Create url segment if localizing pageRejected2018-09-01

Actions
Bug #86074: Properly create slug if adding new pages via FormEngineClosed2018-09-01

Actions
Task #86077: Add recreate button to slug fieldClosed2018-09-01

Actions
Actions

Also available in: Atom PDF