Copied to clipboard

Flag this post as spam?

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


  • Marshall Penn 78 posts 258 karma points
    Jun 07, 2019 @ 08:14
    Marshall Penn
    0

    Is it possible to have the virtual media path be anything other than "Media"?

    I have been building a .net core website with an Umbraco 7 back end and have run into the potential problem whereby if a user creates top level page/folder called "media" then there will be a route conflict with the umbraco media. Media files are stored in Azure, but images are served from a custom website that manages crops, etc.

    What i would like to do is change the Umbraco default "/media/1034/my-image.jpg" to something else - e.g. "/medialib/1034/my-image.jpg" - does anyone know if this is possible?

    Marshall

  • andy 25 posts 94 karma points c-trib
    Jun 07, 2019 @ 09:41
    andy
    0

    Hi Marshall,

    The FileSystemProviders.config is likely to be what you're looking for. In this file you can swap out the media provider or can change the existing virtual folder to point somewhere else https://our.umbraco.com/documentation/Reference/Config/fileSystemProviders/

Please Sign in or register to post replies

Write your reply to:

Draft