Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • blackhawk 313 posts 1368 karma points
    Oct 09, 2017 @ 13:26
    blackhawk
    0

    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

  • Marcio Goularte 374 posts 1346 karma points
    Oct 09, 2017 @ 16:19
  • blackhawk 313 posts 1368 karma points
    Oct 18, 2017 @ 13:57
    blackhawk
    0

    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!

Please Sign in or register to post replies

Write your reply to:

Draft