#94499Redirect after slug update doesn't respect suffix
Description
Hello,
in my system i have the routeEnhancers configured with
routeEnhancers:
PageTypeSuffix:
type: PageType
default: '.html'
map:
'.html': 0
my urls are looking like www.domain.com/page.html
when i change the slug from “page” to “page-new” a new redirect is created with
Source Path: /page
Destination: /page-new
i expected that a request to the old address www.domain.com/page.html will redirect to www.domain.com/page-new.html.
but the redirect works only for www.domain.com/page and redirects to www.domain.com/page-new.
so the redirect doesn’t work in my case and has no advantages for already indexed urls.
when i change the redirect entry manually to
Source Path: /page.html
Destination: /page-new.html
it works like expected.
Is there a solution or a setting that I am overlooking?
Reviews 5
- 12.4 84207[BUGFIX] Build correct PageTypeZeroSource for hidden or scheduled pages
- main 84229[BUGFIX] Build correct PageTypeZeroSource for hidden or scheduled pages
- 12.4 84205[BUGFIX] Enhance duplicate source detection for auto-redirect creation
- main 84228[BUGFIX] Enhance duplicate source detection for auto-redirect creation
- main 77195[FEATURE] Add new redirect `PageTypeSource` source type implementation