Related to the question Getting Sitecore 404 for physical files I was specifically tasked to remove the tilde prefix on the media folder (also mentioned in one of the answer from the question). I get 404 when opening the media library afterwards like the related question above. So I added /sitecore/shell/Applications/Media/MediaShop AND /sitecore/shell/Applications/Media/Media Folder.aspx to the IgnoreUrlPrefix setting in the web.config This fixes the issue, but i'm not sure how this fixed the problem, and why removing the tilde on the media folder causes 404 on media library page. Can someone please explain ?
Getting 404 when opening Sitecore Media Library
1.2k Views Asked by Adi Kurniawan At
1
There are 1 best solutions below
Related Questions in SITECORE
- How to Customize Sitecore Copy operation
- Joomla 5..0.3 delay in search
- What's the event for when a Branchitem has finished creating?
- Convert Sitecore data sources to Guid, programatically
- How to specify an existing ItemId While uploading Media Items to Sitecore XM Cloud using UploadMedia mutation?
- Sitecore to WordPress migration
- Why changing template in Sitecore using powershell script creates a version in English language even if there no version exists?
- I want to convert sitecore search facet filter from multiple to single
- Sitecore - select fields and write to an excel sheet by changing the field names in Powershell
- Coveo for Sitecore: Precondition failed: The parameter 'p_ApiKey' must not be an empty string
- In Sitecore 10, why would my Content Editor Panel not open
- Not loading CSS files after login to my sitecore instance
- AWS - Amazon.Extensions.S3.Encryption.AmazonS3EncryptionClientBase is attempting to implement an inaccessible interface
- Cannot use import statement outside a module - jest + nextj.js
- To get the sitecore username who created sitepage
Related Questions in HTTP-STATUS-CODE-404
- Laravel API DELETE Requests of Resource Controller and Getting 404 Not Found Error (for Second time Delete)
- Next js app throwing 404 error when deployed to vercel, even though it works fine on local
- Tailwind CSS background image does not work on github pages
- npm ERR! code E404 Not Found - GET https://registry.npmjs.org/inquirer 'inquirer@*' is not in this registry.A complete log of this run canbefoundin:
- Problem with changing default NGINX 404 error page
- What can I troubleshoot next to figure out why I get 404 messages?
- Basic Spring Boot application always giving 404/Whitelabel error
- JAX-RS webapp deployed to Tomcat returns HTTP 404 error while it works fine in Eclipse
- it ok return 200 with notfound function and suspese?
- Failed to load resource: the server responded with a status of 404 (Not Found) ProductList.js:14 Error fetching products: AxiosError fe
- Page_404_error (production error) when I trigger URL endpoint from postman to production server
- Page not found when following wagtail tutorial adding tags
- Calling a url in chrome browser or in postman working fine but using axios it is giving 404 error
- I need SSO and Maven to work together in a Tomcat 9 Eclipse project, I have check the usual suspects but I think I missed something
- I have a POST 404(Not Found) error, I can't find a way to fix it
Related Questions in SITECORE6
- Language.TryParse Method use in sitecore point of view?
- How to add insert option Programmatically in C# Sitecore
- How to fetch 3rd level child item details from top level 1st parent ID Sitecore RESTful API
- How to get the rendered Sitecore page html from a pipeline without making a webrequest to the application itself?
- Sitecore "Get Sitecore Item" getting all the items and I want to checkin only the changes
- Uppercase and lowercase mapping of GUID in Glass.Mapper
- Sitecore database: get url for content tem from GUID
- Sitecore foreach but order children by date field
- No layout found when accessing /sitecore. I am trying to access it for the first time
- extranet/anonymous user can not preview the specific language version of an item (with default security settings)
- Traverse Sitecore ancestor items until a template is found
- Sitecore advanced upload option is missing from admin panel
- Sitecore 6.6 to 7.0 upgrade
- Sitecore Single Language Publish in multilingual Sitecore Environment
- Glass Mapper - "The given key was not present in dictionary"
Related Questions in SITECORE-MEDIA-LIBRARY
- How can I override Sitecore’s Media Handler to force user to redirect to login page if user is not authenticated
- Sitecore - How to prevent the anonymous users to access media library items in sitecore?
- Sitecore Media Library - missing Alt Text
- How to expose Sitecore media URLs to outside world?
- Is there a way to force sitecore users to upload media as file?
- Sitecore images in the Media Library are not displaying in Page Editor on CM instance, but appear in the Media Library and on CD instance
- Sitecore media not found for other languages
- How to restrict certain media types from being uploaded to custom media library folder in Sitecore 8 Content editor
- The "Type" attribute of Image in "Sitecore Select Media" popup is showing as "Image" instead of "Jpeg"
- "The maximum amount of data that you can upload is NaN undefined" error is coming on uploading an image using "Upload Media" button in Sitecore
- how to add a file to a MediaItem using SetStream?
- Restrict image upload size in sitecore
- Augmenting sitecore's media library
- How to stop uploading WFFM media files in Sitecore Media library folder and get byte array of uploaded media file
- Getting 404 when opening Sitecore Media Library
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you have existing content which was created when the tilde prefix was in place then that existing content in Rich Text Fields in particular still has the tilde prefix being used. You can check this by looking at the
Edit HTMLorRaw Valuesof the field, it will be in the format:<img src="-/media/123A4B6789012CAB34C567AB79CBD084.ashx?h=100%25&w=100%25" style="height: 100%; width:100%;">In order to change the tilde and still support the old content you need to supplement your media config changes, patch in the changes to the following sections:
Change the prefixes to match whatever you need.
The link will be rendered correctly on the front end site in any case. Note, you have used
/media, which media that if there is a piece of content created calledmedia*then the media handler will try to handle it even if it is content, e.g.mysite.com/media/newsormysite.com/news/latest/media/. You may want to add some validation to prevent such items being created.