Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UmbracoPageNotFoundManager not working for Multiple sites #12

Open
vishnushanmughan opened this issue Jun 8, 2017 · 3 comments
Open

Comments

@vishnushanmughan
Copy link

Hi,
I recently created an application (Umbraco version 7.6.1) which contains 2 or more Websites and I gave separate 404 page for each home. But the page redirect to first 404 page for each website, Does this work for multiple websites?

@juan-dvd
Copy link

For me is the same, allways go to the same 404.

@jkulker
Copy link

jkulker commented Nov 6, 2018

Got same problem any eta for the fix?

@redshift520
Copy link

redshift520 commented Sep 20, 2019

You all may have already found a solution, but for me, a couple of different changes in configuration fixed this.

One way was to change the error404 node value in the umbracoSettings.config file to an ID that didn't exist - e.g., 1.

<errors> <error404>1</error404> </errors>

Doing this meant the 404handlers wouldn't find an umbraco node and IContentFinder class in this package would take over and correctly load the 404 pages I've set.

A second way I tried was to simply remove (comment out) the handler nodes in the 404handlers.config file.

<NotFoundHandlers></NotFoundHandlers>

This would mean that the IContentFinder class in this package would be the only one finding the 404 page.

This worked in Umbraco version 7.13.2.

Good luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants