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

AutomaticRedirectsEnabled setting set to false still create redirects for moved/renamed pages #130

Open
efraimlorenzana opened this issue Sep 4, 2024 · 0 comments

Comments

@efraimlorenzana
Copy link

Hi there,

I'm using this package to handle NotFound redirects in our Optimizely CMS project. I’ve run into an issue where setting "AutomaticRedirectsEnabled" to false doesn’t seem to stop redirects from being created when I move or rename a page.

What I have in the configuration:
services.AddOptimizelyNotFoundHandler(o =>
{
o.AutomaticRedirectsEnabled = false;
});

What I Expected:
No automatic redirects should be created when AutomaticRedirectsEnabled is set to false.

What Actually Happened:
Redirects are still being created automatically even though I’ve disabled that feature.

Environment:
Optimizely CMS Version: 12.30.0
Geta.NotFoundHandler.Optimizely Version: 5.0.8
.NET Core Version: net6.0

I’ve double-checked the documentation, and it seems like this should be working, so I’m not sure what’s going wrong. Any chance you could take a look?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants