Last active
June 4, 2017 12:45
-
-
Save jordanrobinson/b05566968a33d0f8d47f77755c5270d0 to your computer and use it in GitHub Desktop.
sitecore-404
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ outputcache location="None" varybyparam="none" %> | |
<%@ page language="c#" enableviewstate="false" autoeventwireup="True" inherits="SitecoreClient.Page.NotFound" %> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> | |
<meta name="robots" content="noindex, nofollow" /> | |
<title>Error</title> | |
</head> | |
<body> | |
<main class="main" id="main" role="main"> | |
<section> | |
<div class="error-message"> | |
<h1>There seems to be a problem</h1> | |
<p> | |
<strong>Error 404.</strong> | |
Sorry, we couldn't find what you were looking for. Go back to the <a href="/">homepage</a>. | |
</p> | |
</div> | |
</section> | |
</main> | |
<div class="sc-task" style="display: none"> | |
<section class="sc-applicationContent"> | |
<div class="col-md-12 sc-applicationContent-main"> | |
<ul> | |
<li id="PageEditor" runat="server"> | |
</li> | |
</ul> | |
</div> | |
</section> | |
</div> | |
<div style="display: none"> | |
<asp:placeholder id="RequestedUrl" runat="server" /> | |
<asp:placeholder id="UserName" runat="server" /> | |
<asp:placeholder id="SiteName" runat="server" /> | |
</div> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<setting name="ItemNotFoundUrl" value="/404.aspx" /> | |
<setting name="LayoutNotFoundUrl" value="/404.aspx" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<httpErrors errorMode="Custom" existingResponse="Auto"> | |
<remove statusCode="500" subStatusCode="-1" /> | |
<error statusCode="500" path="/500.htm" responseMode="File"/> | |
</httpErrors> | |
<customErrors mode="RemoteOnly" defaultRedirect="~/500.htm" redirectMode="ResponseRewrite" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment