Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Has anyone figured out a way to keep old links on Azure Blob storage when you rewrite a media file on Umbraco Cloud?
For example old file like this:
Is getting changed to this:
Some of our users rely on these URLs not changing. Any help appreciated! We did have the code that kept those links unchanged on standard Media file system but it isnt working on Blob storage.
A quick update on this, got it sorted out thx to Umbraco Support.
Here is how to fix:
And, if you are compiling it in Core:
Before your custom method. So your whole method looks like this:
[RuntimeLevel(MinLevel = RuntimeLevel.Run)]
public class MyComposer : IUserComposer
public void Compose(Composition composition)
That's it! Your old links will be kept on Azure Blob Storage. Thx.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted