Copied to clipboard

Flag this post as spam?

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


  • Robin Hansen 135 posts 368 karma points
    Jun 19, 2012 @ 12:57
    Robin Hansen
    0

    Proper SEO path for Media files - NOT Guid's

    I have to admid that I'm really unsatisfied with the way Umbraco handles uploaded Medias - espesially Images... - Looking through a pair of "SEO glasses" the image path that Umbraco renders is simply not good enough (/media/486/d7c701d76dbe566a2e68c5cea9c67d082537f715.jpg) - where it rather should be: /media/Test/NewImg.jpg

    Is there a workaround allready made for this, or do I have to fix it in the sourcecode myself - if so, how...?

    Have a look at this screendumb for further info:

  • Simon steed 376 posts 688 karma points
    Jun 19, 2012 @ 15:57
    Simon steed
    0

    Not sure whats happening on yours but on my 4.7.2 the correct name is saved to disk i.e. no guid renames - are you sure you have not uploaded a file with a guid as the filename or is this a V5 quirk?

     

     

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Jun 19, 2012 @ 16:03
    Richard Soeteman
    0

    This happens only in V5. In V4 it will be /media/[id]/name of the file. Only the id is an integer instead of guid.

  • Robin Hansen 135 posts 368 karma points
    Jun 19, 2012 @ 17:03
    Robin Hansen
    0

    I'm actually using 4.7.0 for at test purpose... - it sounds promissing about v. 4.7.2 execpt for the [id] in the path - I really whan't the folder name instead...

    /media/foldername/filename <--- This is the ultimate path the SEO

  • Simon steed 376 posts 688 karma points
    Jun 19, 2012 @ 17:37
    Simon steed
    0

    It's been the same for me since at least 4.5.2 so unsure why you are seeing that.

  • Robin Hansen 135 posts 368 karma points
    Jun 22, 2012 @ 08:55
    Robin Hansen
    0

    Ok - did manage to install ver. 4.7.2 on a test purpose... - GUID in file name gone - tnx for that... :-) - but the [id] is still there rather than the foldername - and that's actually a 'big' problem for me... - if it's possible to fix that - even in the source code - I'll really like to know how...

Please Sign in or register to post replies

Write your reply to:

Draft