Custom 404 only works on root url, not on subfolde...
# help-with-umbraco
l
Do you have any packages that also do 404 routing? Typically SEO packages can be the first culprit to check. Or any webconfig/iis/etc redirect rules. Otherwise, following the documentation (https://docs.umbraco.com/umbraco-cms/13.latest/tutorials/custom-error-page) setup should be all you need. No chance any logs there to help yah? May also help to know which method you're using.
d
I don't know of and cannot find anything that is CEO related in this site. I followed the official "how to", and that is what I have in the project now that isn't working as expected. There's nothing in logs that I can find, I wouldn't expect to see this in an error log as Umbraco thinks it is acting correctly, I'll try looking at general dotnet logging in Visual Studio as I navigate. The project doesn't anything extra in web.config, it's a straight up dotnet install, maybe I need to add something in there? I can't find a path that matches webconfig/iis/ . A bit stumped by this.
Ok, so I am an idiot and a drone. I was told to follow a particular URL to test (idk y) and did that without further critical thinking. They'd put in a redirect in Culture and Hostnames that took me away from localhost to the actual site (where i have yet to implement custom 404s) and me in my stupidity hadn't looked at the start of the address bar, which changes when I click the link from localhost to actualdomain.com/ So it was working the whole time, as i found out when I deviated from the strict set of instructions I had been given. Trust no-one, least of all yourself. right, thanks @Lamont , you tried to help, but sometimes people are beyond help 😆
22 Views