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

[BUGFIX] Avoid unacceptable slug changes on locked slugs #99

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dkd-kaehm
Copy link

EXT:sluggi always(on each pages change) rewrites the slug with path segments to the last path segment, even the slug is locked and not changed by editor. Also from /virtual-parent-slug/my-test-page to /my-test-page. This change prevents overrides on slugs at least on "locked" slugs.

Note: This is a partial fix only and not locked slugs will be still overridden.

Relates: #98

wazum and others added 2 commits October 20, 2023 09:20
EXT:sluggi always(on each pages change) rewrites the slug with path segments to the last path segment,
even the slug is locked and not changed by editor.
Also from `/virtual-parent-slug/my-test-page` to `/my-test-page`.
This change prevents overrides on slugs at least on "locked" slugs.

**Note: This is a partial fix only and not locked slugs will be still overridden.**

Relates: wazum#98
dkd-kaehm added a commit to dkd-kaehm/sluggi that referenced this pull request Oct 30, 2023
EXT:sluggi always(on each pages change) rewrites the slug with path segments to the last path segment,
even the slug is locked and not changed by editor.
Also from `/virtual-parent-slug/my-test-page` to `/my-test-page`.
This change prevents overrides on slugs at least on "locked" slugs.

**Note: This is a partial fix only and not locked slugs will be still overridden.**

Relates: wazum#98
Ports: wazum#99
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

Successfully merging this pull request may close these issues.

2 participants