EtchUK/Etch.OrchardCore.SEO

Sitemaps error with enabled redirects

Closed this issue · 3 comments

Sitemap breaks after enabling redirect features.
Might be related to #50 - i have newest version of orchard.

image

Thanks for the heads up, will make sure when we do the RC2 updates that they play nice.

Issue here is the catch all route that the redirect feature is adding is clashing with the catch all route being defined by the sitemaps module. As we can't currently define the order we end up with a clash. Below is an open issue discussing improvements to DynamicRouteValueTransformer that would help get around this issue.

dotnet/aspnetcore#21471

Will have a ponder and continue digging to see if we can find a potential work around.

@MikeKry In preparation for the pending 1.0.0 release, I've pushed up a dev branch that targets 1.0.0-rc2-16368 that should hopefully resolve the issue you were having. Going to close this issue but feel free to re-open if you're still having issues.