wazum / sluggi

The TYPO3 CMS slug helper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Page points to itself after renaming twice

tkreis-ikanos opened this issue · comments

Hi all,

when renaming a page, Sluggi creates a redirect from the previous name to the new one. When renaming the page back to its previous name, the redirect still remains and points to itself then. Therefore, the frontend page is not accessible any more.

The correct behavior should be to remove the redirect (or all self-pointing redirects in general).

TYPO3: 11.5.24
Sluggi: 3.0.3
PHP: 7.4

sluggi is not really creating redirects itself, so this should be fixed in the core code. But I'll take a look at it the next time I work on the extension.