Copied to clipboard

Flag this post as spam?

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


  • Mov3nforward 47 posts 179 karma points
    Sep 13, 2017 @ 20:54
    Mov3nforward
    0

    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 324 posts 1078 karma points
    Sep 13, 2017 @ 23:09
    Marcio Goularte
    0

    have you ever considered using URL Rewrite?

  • Mov3nforward 47 posts 179 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 46 posts 153 karma points
    1 week ago
    Connie DeCinko
    0

    Did anyone come up with a solution?

  • Mov3nforward 47 posts 179 karma points
    1 week ago
    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 5 posts 75 karma points
    4 days ago
    Slobodan Markovic
    0

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

Please Sign in or register to post replies

Write your reply to:

Draft