Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm having a problem that is quite widespread from what I can see after a "quick survey" of big online umbraco websites:
I've created a custom 404 page and I've implemented a custom IContentFinder for a multilingual website => the custom 404 page works well except in 3 (2) cases:
1) www.mydomain.com/hello. <= notice the dot '.' at the end.
2-3) www.mydomain.com/my-missing-image.jpg or any url that contains a dot '.' like www.mydomain.com/hello.hello
At the moment I'm using a temporary fix thanks to SEO-Checker 404 settings (SEO-Checker => Settings => Domain-Settings => node => 404 settings) but this is not an ideal solution since:
I would like to know which is the idiomatic way of treating this problem in umbraco...
Seems like urls with dots are handled differently by umbraco. Maybe ths post could help you out?
Thank you Jonathan.
To be honest I already saw that post and tried all the proposed solutions to no avail.
Today I reverted to a clean state and tried again.
This worked for me:
<httpErrors existingResponse="Replace" errorMode="Custom">
<remove statusCode="404" subStatusCode="-1" />
<error statusCode="404" prefixLanguageFilePath="" path="..." responseMode="ExecuteURL" />
It seems I was using existingResponse="PassThrough" instead of existingResponse="Replace"
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted