Copied to clipboard

Flag this post as spam?

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


  • Mov3nforward 112 posts 314 karma points
    Sep 13, 2017 @ 20:54
    Mov3nforward
    0

    Custom Media Folders

    I have a client that needs the media folders on their website to be more SEO friendly. For example, a PDF in the current Umbraco site would be domain.com/media/11100/filename.pdf. What the need for it to say is domain.com/pdf/filename.pdf for seo purposes. I know I can create a folder called "pdf" and ftp the files, but how would I go about doing is so that my client can upload to the folder via Umbraco and linking to it with a content picker?

    -Lee

  • Marcio Goularte 356 posts 1248 karma points
    Sep 13, 2017 @ 23:09
    Marcio Goularte
    0

    have you ever considered using URL Rewrite?

  • Mov3nforward 112 posts 314 karma points
    Sep 14, 2017 @ 00:41
    Mov3nforward
    0

    Marcio,

    I am not sure how I would go about doing that and how would this affect a link like ?

    -Lee

  • Connie DeCinko 95 posts 247 karma points
    May 15, 2019 @ 22:46
    Connie DeCinko
    0

    Did anyone come up with a solution?

  • Mov3nforward 112 posts 314 karma points
    May 16, 2019 @ 13:53
    Mov3nforward
    0

    Yes, but you can only change the media folder to a new name. Look in the FileSystemProviders.config file below.

    config/FileSystemProviders.config

    Change "media" to the folder you want it to be called.

    <add key="virtualRoot" value="~/media/" />
    

    We created another folder on the server called "pdfs" for our pdf files and for now ftp them up. I am looking for a way for clients to manage files on the server through the backoffice.

    -Lee

  • Slobodan Markovic 6 posts 76 karma points
    May 21, 2019 @ 08:02
    Slobodan Markovic
    0

    Is there any way to accomplish this in Umbraco 8? Really need this.

  • Mov3nforward 112 posts 314 karma points
    Nov 20, 2019 @ 23:04
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies