Tuesday, 16 June 2015

Remove ~ from media url sitecore

As said IIS need some elevated privileges in order to cater

 /~/media prefix 

So we remove this by below line of code.

<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
      <setting name="Media.MediaLinkPrefix">
        <patch:attribute name="value">-/media</patch:attribute>
      <handler trigger="-/media/" handler="sitecore_media.ashx"/>


No comments:

Post a Comment

Featured post

Getting Started With SOLR

Getting Started with Solr ·           Features o    Hit highlighting o    Auto correction o    Faceted Search o    Multi lan...