Copied to clipboard

Flag this post as spam?

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


  • BJ Patel 80 posts 206 karma points
    Nov 13, 2015 @ 13:38
    BJ Patel
    0

    Getting (404 - File or directory not found) running site.

    Hi,

    Surprisingly I am getting 404 error message while navigating to pages. And when I re-publish that particular page, it get start rendering , but again when I try to access it using direct url (Eg. http://SiteName/PageName.aspx) it again gives 404 error. But when I access home page any time it get rendered.

    I have tried the following

    1) I have cleared cache (By manually Deleted AppData/ Temp & Config files)

    2) Have re-publish entire site.

    But not able to resolve it .

    Kindly Guide me. I am using using V6+

    Thank in Advance. :)

    I use razor can it be it's cache issue , or any other hint so I can start drilling in that direction ?

  • gary 385 posts 916 karma points
    Nov 14, 2015 @ 21:29
    gary
    0

    Hi

    Can you post a picture of your content tree?

    I have a feeling that you are missing a node, because it should work as you suggest.

    Regards

    Gary

  • BJ Patel 80 posts 206 karma points
    Nov 15, 2015 @ 04:52
    BJ Patel
    0

    Hi Gary,

    Thanks for your reply,

    Kindly find the overview of content tree

    enter image description here

    FYI: As only Root node use the Template else respective node do not have template

    Regards.,

    BJ .

  • Nicholas Westby 2054 posts 7100 karma points c-trib
    Nov 15, 2015 @ 18:46
    Nicholas Westby
    100

    I am confused why you show Page 2, Page 3, and Page 4 at the same level as the Home node (i.e., at the root). They should be children of the Home node.

  • BJ Patel 80 posts 206 karma points
    Nov 16, 2015 @ 03:58
    BJ Patel
    0

    Hi Nicholas,

    Thanks for your reply,

    Ok, if I move them from root to Children of Home Node, will it help on my issue?

    As there is no specific reason other than the Content manager convenience.

    Regards.,

    BJ

  • Nicholas Westby 2054 posts 7100 karma points c-trib
    Nov 16, 2015 @ 03:59
    Nicholas Westby
    0

    Not sure if it will work, but I'm surprised it worked at all the way you currently have it setup. Give it a try to see what happens.

  • BJ Patel 80 posts 206 karma points
    Nov 17, 2015 @ 04:30
    BJ Patel
    0

    Thanks Nicholas,

    Have re-structured the content tree as per your Guidance

    And Have done following changes to /config/404handlers.config

    <NotFoundHandlers>
      <notFound assembly="Sample" type="HandleMySpecialUrls" />
      <notFound assembly="umbraco" type="handle404" last="true" />
    </NotFoundHandlers>
    

    Ref. http://issues.umbraco.org/issue/U4-2549

    Regards.,

    BJ.

Please Sign in or register to post replies

Write your reply to:

Draft