Copied to clipboard

Flag this post as spam?

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


  • Chris Clancy 65 posts 134 karma points
    Dec 08, 2016 @ 14:55
    Chris Clancy
    1

    Handling 404s for Multi Site Umbraco 7.5.2

    Hi,

    I originally set my 404 page up in the umbracoSettings.config file and it worked fine ....until I realised that the two other sites in this instance were using the same 404 page as site no.1, which is not going to work.

    I have gone with standard 404 handling, using an Xpath statement to point to my custom 404 page.

    <errors>
      <error404>//errorPage[@nodeName='404']</error404>  
    </errors>
    

    I have looked into uComponents package but that doesn't seem to be supported for version 7 Umbraco, so is there another way of handling multi site 404's?

    Also, the sites in question are running as an App on Azure, so it means no standard IIS 404 handling.

    Thanks

    Chris

  • Jonathan Richards 288 posts 1742 karma points MVP
    Dec 08, 2016 @ 15:31
  • Chris Clancy 65 posts 134 karma points
    Dec 08, 2016 @ 15:57
    Chris Clancy
    1

    Thanks Jonathan, I will investigate.

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    Dec 08, 2016 @ 16:52
    Alex Skrypnyk
    0

    Hi Chris,

    Did you try to use this package - https://our.umbraco.org/projects/backoffice-extensions/umbraco-page-not-found-manager/ ?

    It's really helpful.

    Thanks,

    Alex

  • Chris Clancy 65 posts 134 karma points
    Dec 13, 2016 @ 10:53
    Chris Clancy
    0

    Hi Alex,

    Yes I did try that package and it works very well. The only issue I have is to ensure that the config file is excluded from the repo or it will keep on being over written.

    thanks

    Chris

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies