Copied to clipboard

Flag this post as spam?

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


  • Elliott Brown 41 posts 211 karma points
    Jul 26, 2018 @ 11:36
    Elliott Brown
    0

    404 not working

    Hi,

    I've recently been working on our new site and I set up the 404 with no problems in either the 'localhost' or test server applications. However, after launching website to main URL, I can see that the custom 404 is not working.

    I just get this "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."

    I read something on the documentation about needing to refresh the app pool. How do I this manually? - is this even the issue?!

    Thank you!

    Elliott

  • Paul Tilsed 26 posts 179 karma points c-trib
    Jul 26, 2018 @ 14:42
    Paul Tilsed
    0

    Hi Elliott,

    It could be that IIS is preventing the custom 404 page showing up. Try adding the following to the

    <httpErrors existingResponse="PassThrough" />
    

    Adding this and saving the Web.Config should also refresh the app pool. Remeber to ensure the Web.Config is valid before you save it, so no duplicate elements.

    Paul

  • Alex Brown 129 posts 620 karma points
    Jul 26, 2018 @ 14:44
    Alex Brown
    0

    Don't forget to set trySkipIisCustomErrors to true in umbracoSettings.config

Please Sign in or register to post replies

Write your reply to:

Draft