On this page
FAQ
Why doesn't my redirects work?
Skybrud Redirects adds a ASP.NET Core middleware that executes at the end of the request pipeline. The middleware only looks for redirects if the response in this state has a 404 Not Found
.
A typical issue is that a custom 404 page has been configured in Umbraco, but instead of 404 Not Found
, it incorrectly returns a 200 OK
status code instead. This means that the redirects midlleware doesn't look for redirects.
The best way to validate the status code is to access a non-existing URL on your site and confirm that the returned status code is in fact 404 Not Found
. The screenshot below is from the Network tab in Chrome's Developer Tools.