Linked Questions

6
votes
2answers
2k 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 ...
4
votes
1answer
4k 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 ...
0
votes
1answer
1k 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 ...
0
votes
2answers
579 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/...
2
votes
0answers
75 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 ...
0
votes
0answers
22 views

Sitecore throws 500 Exception when url contains /api/unknown actions [duplicate]

I'm getting the ControllerCreationException if the URL contains some unknown action methods. The expected behavior should be 404 but instead, I'm getting the 500 server error. Please, guide me on how ...
21
votes
5answers
506 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 ...
1
vote
4answers
1k 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 ...
7
votes
1answer
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 ...
5
votes
2answers
249 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/...
1
vote
1answer
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-...
3
votes
2answers
596 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/...
1
vote
1answer
208 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 ...
-1
votes
2answers
133 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?...