Open dkd-kaehm opened 1 year ago
We can confirm this problem for EXT:sluggi version: 10.1.0 @ TYPO3 10.4.40.
Thanks for the explanation, I'll work on this in the coming days.
@dkd-kaehm @ahlswedem can you please test with the latest versions of the matching branch (no tags yet)? I hope I fixed all problems with this. "wazum/sluggi": "dev-main" "wazum/sluggi": "v11.x-dev" "wazum/sluggi": "v10.x-dev"
Each editors change on page record leads to slug update, if it contains some path segments from admin.
How to reproduce:
/virtual-parent-slug/...
so the slug is/virtual-parent-slug/my-test-page
Current behavior:
/my-test-page
, if not changed.Expected behavior:
Additional infos:
EXT:sluggi version: 11.1.2 @ TYPO3 11.5.32
It does not matter if the slug is locked or not, but it is really critical on locked slugs, because it breaks in our case the SEO score and back links and so on.
The source of trouble:
The value is only last path segment of real slug:
EXT:sluggi settings:
Proposal:
It is really difficult for a set of possibilities, but something like this:
$segment
inInputSlugElement::replaceValues()
, but only on JS stack and only on Non-"banned slug part"Current solution in our project:
Following patch at least helps against losing the locked slug: