Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nagarjun 39 posts 71 karma points
    Jun 29, 2015 @ 14:18
    Nagarjun
    0

    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.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jun 29, 2015 @ 15:21
    Jan Skovgaard
    0

    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

  • Nagarjun 39 posts 71 karma points
    Jul 07, 2015 @ 12:18
    Nagarjun
    0

    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

          Error Code: 404 
    

    • 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.

Please Sign in or register to post replies

Write your reply to:

Draft