Redirect old `.aspx` pages to new media URLs
b
We have a project on Umbraco Cloud where the old site had media files at
/admin/public/download.aspx?file=xxx.pdf
- it seems these are handled as static files because of
.aspx
in NET Core. Locally I can add a manually redirect using Skybrud Redirects and select a media file to redirect and it just works, but it Umbraco Cloud / Azure it doesn't seem to work, where it returns 404 Not Found. I tried locally a test using Published Content Request Preparation notification, but it doesn't hit this for these requests. Any ideas how to handle this?
It turns out it was a an issue with
/
in the querystring .. which should be encoded.. so it works when using`%2F` instead
11 Views