Our website is built using umbraco CMS. we have used umbracoSettings.config for handling http 404 errors. I'm facing a similiar issue(or behavior) which could be repeated on this website.
I'm not sure how to change this behavior since I think you'll need to make the change in the core of Umbraco - I think it's by intent that if you try going to the install path that you're redirected to the login screen since Umbraco has been installed.
So I'm curious as to why you want to change this behaviour? What is your scenario that makes this an issue you need to address?
Is it because the /install path is indexed by search engines? Or when will it ever happen that people who're not supposed to be redirected to the login screen will be?
Custom 404 error page
Hi,
Our website is built using umbraco CMS. we have used umbracoSettings.config for handling http 404 errors. I'm facing a similiar issue(or behavior) which could be repeated on this website.
Actual URL ::
https://our.umbraco.org/forum/?page=2
I enter a URL with a typo error as
https://our.umbraco.org/for/?page=2 . Now this displays page not found error designed for this website.
For below URL ::
https://our.umbraco.org/install/?page=2 , it goes to login page.
As of now I'm assuming that it takes me to install folder in umbracocms.
Could someone help me in avoiding this and display the actual error page.
Hi jnagarjun2012
I'm not sure how to change this behavior since I think you'll need to make the change in the core of Umbraco - I think it's by intent that if you try going to the install path that you're redirected to the login screen since Umbraco has been installed.
So I'm curious as to why you want to change this behaviour? What is your scenario that makes this an issue you need to address?
Is it because the /install path is indexed by search engines? Or when will it ever happen that people who're not supposed to be redirected to the login screen will be?
Looking forward to hearing from you.
/Jan
Hi Jan,
Thanks for your response. Our websites are pure content oriented. No login is required. As Umbraco is defined in such way it's fine.
We have custom 404 error pages defined in umbraco for our websites. Here comes a new issue. I've been extracting server logs and noticed below error.
• Class: [umbraco]Umbraco.Web.Routing.PublishedContentNotFoundHandler
• Error Message: HTTP
• Exception: HTTP Error Code: 404
• HTTP Method: GET
• Method: ProcessRequest
• Method Descriptor: [mscorlib]System.Void([System.Web]System.Web.HttpContext)
Although we have setup 404 pages, I'm still seeing this error. Would it be possible for you to list the causes of this error.
is working on a reply...