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

Custom Redirects Manager redirect URL's are not working for the expired pages #106

Open
madawaesatto opened this issue Dec 11, 2023 · 2 comments

Comments

@madawaesatto
Copy link

madawaesatto commented Dec 11, 2023

I'm having a problem when redirecting an expired page to another page in Custom Redirects Manager.

All redirects are working in Custom Redirects Manager if the original page no longer exists and the target page has not expired. If the content has expired for the original page, then either get “404 error” message or “redirect too many times error” message shows even if a not expired redirect page is configured in Custom Redirects Manager.

It seems like expires page in Epi server CMS having problem communicating with "Custom Redirects Manager" configured redirect URLs when the original page has expired. However, if they configure redirects with shortcuts ( can configure in expired page settings Tab) then it redirects to the configured link.

I just need to know why expired page redirects not working in “Custom Redirects Manager”. Is it a bug or is it normal that “Custom Redirects Manager” not handle expired page redirects ? . Is that the only option to configure redirects with shortcuts in page setting for such expired pages ?

@madawaesatto
Copy link
Author

Versions in CMS

image

@wezz
Copy link

wezz commented Dec 17, 2024

I noticed the same behavior.
Expired pages return a 410 response.

I created a PR that makes it configurable if the NotFound Handler will mange redirects on 410 requests, not just 404 responses.

#155

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

No branches or pull requests

2 participants