Hi all,
I had set up a page with certain PDF files that are stored in Umbraco media.
Everything was working as expected, but now I can see certain files are missing and leading to a 404 page.
I tried to upload the file again and still the issue exists.!
I was able to save the file as in the screenshot
but if I click the media URL then it says No umbraco document matches the url '/media/2156/test-file.pdf/'.
Does anybody know the reason?
Can you check the disk and be sure that the files are there? Umbraco can't remove files so something happened with files on the disk or somebody removed them.
Thanks Alex for your time :)
The error was due to certain rules's given in web.config. For better SEO they have added some rules for a trailing slash on URL.
After excluding PDF from that, the issue got resolved
Error with PDF files in Umbraco Media
Hi all,
I had set up a page with certain PDF files that are stored in Umbraco media. Everything was working as expected, but now I can see certain files are missing and leading to a 404 page.
I tried to upload the file again and still the issue exists.!
I was able to save the file as in the screenshot
but if I click the media URL then it says
No umbraco document matches the url '/media/2156/test-file.pdf/'.
Does anybody know the reason?Any help is appreciated
Hi Arun
Can you check the disk and be sure that the files are there? Umbraco can't remove files so something happened with files on the disk or somebody removed them.
Are you using Azure blob?
Thanks,
Alex
Thanks Alex for your time :)
The error was due to certain rules's given in web.config.
For better SEO they have added some rules for a trailing slash on URL.
After excluding PDF from that, the issue got resolved
is working on a reply...