Linked Questions

6 votes
2 answers
3k views

Handling 500 errors in sitecore multi site multi language environment [duplicate]

I found a similar question, but could not find out what I need from there I am trying to achieve a language-specific, content manageable, friendly error message page for 500 status code. What I ...
Dheeraj Palagiri's user avatar
4 votes
1 answer
6k views

handling 500 errors in sitecore 9 [duplicate]

For handling status code 500 followed below step in web.config file: <system.web> <customErrors mode="off" /> <system.web> </system.webServer> <httpErrors ...
sindu's user avatar
  • 629
0 votes
1 answer
2k views

Friendly error page for Sitecore web application [duplicate]

We want to set up a friendly error page for a Sitecore application. We created a new htm page in root folder and used IIS custom errors (using web.config's custom errors element) to redirect errors to ...
Mahesh Varma's user avatar
0 votes
2 answers
668 views

Custom Error page in Habitat [duplicate]

We have a habitat application with multi-site. If any error occurred, it has to redirect to error page item of specific site. We were planning to implement by https://community.sitecore.net/...
PVM's user avatar
  • 963
2 votes
0 answers
91 views

Can I point ItemNotFoundUrl at sitecore content? [duplicate]

In my attempt to customize error pages, I have overridden the settings for ItemNotFoundUrl, LinkItemNotFoundUrl, and LayoutNotFoundUrl to point to a page in sitecore; /errors/ContentNotFound. The ...
GoetzOnline's user avatar
0 votes
0 answers
41 views

How to trigger 404 inside MVC controller - SiteCore 10.1? [duplicate]

We have a custom pipeline 404 processor, inside that processor, we do not set status code to 404, instead, we set Response.TrySlipIisCustomErrors = true and also set Sitecore.Context.Item = item404; ...
John's user avatar
  • 91
21 votes
5 answers
569 views

Is there a recommended approach to handling navigable Items with no layout defined?

I have a scenario in a site we're building where there are groups of pages organized into folders for organizational purposes. However, the folders aren't pages themselves. Here's an example: If ...
LonghornTaco's user avatar
  • 2,536
1 vote
4 answers
2k views

Status Code 200 returned for 404 page SXA website

We have a SXA website and tried to add 404 page as described here Setup 404 page by creating the Pipeline and adding a rendering to set the StatusCode to 404. We also added Page Not found link in ...
user1032's user avatar
  • 137
7 votes
1 answer
1k views

ExecuteRequest is Obsolete, How should we derive from the ExecuteRequest pipeline processor?

So recently noticed a compiler warning on a custom pipeline I wrote to override what pages "Page Not Found", "Layout Not Found" get redirected to (in order to make them site specific pages in a ...
mtelligent's user avatar
5 votes
2 answers
362 views

How do you restrict media from serving up on different domains in SXA?

Let's say for example we have two SXA websites. AwesomeSauce.com TheBomb.com If an image appears on one domain, I can access it using the other domain. https://www.awesomesauce.com/-/media/project/...
Michael West's user avatar
  • 18.2k
3 votes
2 answers
789 views

Redirect requests based on missing data on wildcard item

I have a URL, myWebsite.com/locations, and currently if you go to myWebsite.com/locations/{any valid ID} you get a page with content about the location. However, if you go to myWebsite.com/locations/...
Andrew Diamond's user avatar
1 vote
1 answer
1k views

MediaRequestHandler for missing images causes errors on Content Authoring

We've implemented error handling for missing images in Sitecore like so: https://nourestani.wordpress.com/2015/05/11/error-executing-child-request-sitecore-for-404-useserversideredirect-...
Adam Seabridge's user avatar
1 vote
1 answer
419 views

How to support custom 404 Pages while keeping Languages.AlwaysStripLanguage set to false

My team is running into a very confusing error where our 404 pages are throwing 500 errors, but only when the Languages.AlwaysStripLanguage configuration setting is set to "false". When we remove the ...
Villanite's user avatar
0 votes
1 answer
227 views

200 error on a bad URL request

Well this is weird, we have a Sitecore 9.1 multisite, and when someone tries to access https://www.abc.com/www.cc.com/ it is redirecting to 200 status code but with a server error message but if I ...
ashes321's user avatar
-1 votes
2 answers
199 views

Locate web.config to implement 404 page

I'm really new with Sitecore and I'm not sure where to perform this change. So far I only know the CMS web interface which is very limited. How can I locate the web.config file? What tool should I use?...
Cristian Matos's user avatar
0 votes
4 answers
60 views

Trouble getting GetPageItemProcessor implemented

I asked a question "how to trigger 404 in controller", my post was closed and pointed me to an early question which was considered answered. I followed that link and tried to implement ...
John's user avatar
  • 91