Can we create an alternative URL for Media files (in addition to the default URL structure)
Just as the title suggests, is there a way through BackOffice to create an additional or alternative URL for media documents, like PDFs and Word documents, that is custom?
I was able to find umbracoUrlAlias and successfully use it for content nodes. I tried it on a PDF within my media tree but it doesn't work.
Marcio thanks for the share. As that post points out, there are some issues with re-saving and removing the file after being modified by code. I think the best thing I'm gonna do for now is set up custom redirects for files that need that much attention.
Can we create an alternative URL for Media files (in addition to the default URL structure)
Just as the title suggests, is there a way through BackOffice to create an additional or alternative URL for media documents, like PDFs and Word documents, that is custom?
I was able to find umbracoUrlAlias and successfully use it for content nodes. I tried it on a PDF within my media tree but it doesn't work.
Thanks for any tips
look this
https://our.umbraco.org/forum/umbraco-7/developing-umbraco-7-packages/60534-Physical-structure-of-media-folder
Marcio thanks for the share. As that post points out, there are some issues with re-saving and removing the file after being modified by code. I think the best thing I'm gonna do for now is set up custom redirects for files that need that much attention.
Thanks again!
is working on a reply...