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

Redirect after permalink change #2146

Merged
merged 3 commits into from
Sep 20, 2024
Merged

Redirect after permalink change #2146

merged 3 commits into from
Sep 20, 2024

Conversation

tf
Copy link
Member

@tf tf commented Sep 20, 2024

REDMINE-20825

@tf tf added this to the v17.1 milestone Sep 20, 2024
tf added 3 commits September 20, 2024 13:21
Automatically keep links working if an entry that had already been
published changes slug or permalink directory.

Do not clean up redirects even when another entry is moved to again
take the permalink. This keeps the redirect working as long as the new
entry has not been published yet. Once published, the entry takes
precedence over the redirect.

Redirects are only cleaned up, when the second entry also gets renamed
to prevent keeping multiple redirects for the same permalink around.

REDMINE-20825
Otherwise changing the permalink does not affect the canonical URL
used in entry metadata.

REDMINE-20825
@tf tf force-pushed the permalink-redirect branch from cc93a10 to 853f65c Compare September 20, 2024 11:22
@tf tf merged commit e8fd17b into codevise:master Sep 20, 2024
11 checks passed
@tf tf deleted the permalink-redirect branch September 20, 2024 11:31
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.

1 participant