
Peggy Zhu (Customer) asked a question.
Custom 404 page stopped working after Sitefinity update
Hi everyone
Since updating Sitefinity, our 404 page is no longer working correctly.
We’ve noticed two issues:
- When we open the 404 page in Sitefinity to edit it, it shows the homepage content instead of the 404 page content. However, the correct 404 content still appears when we visit the 404 URL directly.
- When someone enters an incorrect URL, they are redirected to the global homepage instead of the 404 page.
The 404 page is still accessible using its direct URL, but it is no longer working as the error page.
Environment Details
- Product Version: 15.4
- Build Version: 15.4.8625.0
- Product File Version: 15.4.8625.0
Has anyone experienced this issue or know what settings we should check?
Thanks! 😊
Hi @Peggy Zhu (Customer) ,
Check for customErrors tag and check the redirect path for the 404 also the defaultRedirect property
You can also check for httpErrors in the web.config file.
Let me know and then we can see what else we can check.
Regards,
Sabrie
Hi Sabrie, thank you so much for your response.
Yes, we do have a few different regions. When we go into the 404 page for each region, they all seem to display as the “homepage.” However, the 404 functionality for NZ and the UK is working correctly. If we enter an incorrect URL, we are redirected to the 404 page as expected.
For AU, the AU 404 page is displaying the AU homepage content. Also, if we enter an incorrect URL on the AU site, instead of being redirected to the AU 404 page, it redirects to the Global homepage.
Because of this, I suspect there may be an issue with both the Global and AU environments and how the 404 page is configured or redirected.
Thanks!
Peggy
Hi @Peggy Zhu (Customer) ,
Thanks for the details.
And yes, it looks like there is an issue with these specific environments - Global and AU. Either the system cannot find the 404 pages on these sites or there is some logic on the 404 pages that causes the redirect.
What you can check is the following:
Regards,
Sabrie