forked from BlogEngine/BlogEngine.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror404.aspx
More file actions
54 lines (53 loc) · 2.99 KB
/
error404.aspx
File metadata and controls
54 lines (53 loc) · 2.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<%@ Page Language="C#" AutoEventWireup="true" Inherits="error404" Codebehind="error404.aspx.cs" %>
<asp:content id="Content1" contentplaceholderid="cphBody" runat="Server">
<div class="post error404 page-global">
<h2 class="page-global-title">Ooops! I can't find the page you're looking for</h2>
<div id="divSearchEngine" runat="server" visible="False" class="search">
<p>
You did a search on <strong><a href="<%=Server.HtmlEncode(Request.UrlReferrer.ToString()) %>"><%=Server.HtmlEncode(Request.UrlReferrer.Host)%></a></strong>
for <strong><%=SearchTerm %></strong>. However, their index seems to be out of date.
</p>
<h2>All is not lost!</h2>
<p>I think that the following pages on my site will be able to help you:</p>
<div id="divSearchResult" runat="server" class="searchresults" />
</div>
<div id="divExternalReferrer" runat="server" visible="False">
<p>
You were incorrectly referred to this page by:
<a href="javascript:history.go(-1)"><%=Server.HtmlEncode(Request.UrlReferrer.Host)%></a>
</p>
<p>I suggest you try one of the links below:</p>
<ul>
<li><a href="archive<%= BlogEngine.Core.BlogConfig.FileExtension %>"><%=Resources.labels.archive %></a></li>
<li><a href="<%=BlogEngine.Core.Utils.RelativeWebRoot %>">Home page</a></li>
</ul>
<p>You can also try to <a href="<%=BlogEngine.Core.Utils.RelativeWebRoot %>search">search for the page you were looking for</a>.</p>
<p>I'm sorry for the inconvenience</p>
</div>
<div id="divInternalReferrer" runat="server" visible="False">
<p>
This one's down to me! Please accept my apologies for this - I'll see to it
that the developer responsible for this broken link is given 20 lashes
(but only after he or she has fixed this problem).
</p>
<p>You can also try to <a href="<%=BlogEngine.Core.Utils.RelativeWebRoot %>search">search for the page you were looking for</a>.</p>
<br /><br />
</div>
<div id="divDirectHit" runat="server" visible="False">
<p>You might find one of the following links useful:</p>
<ul>
<asp:placeholder runat="server" id="phSearchResult" />
<li><a href="archive<%= BlogEngine.Core.BlogConfig.FileExtension %>"><%=Resources.labels.archive %></a></li>
<li><a href="<%=BlogEngine.Core.Utils.RelativeWebRoot %>">Home page</a></li>
</ul>
<p>You can also try to <a href="<%=BlogEngine.Core.Utils.RelativeWebRoot %>search">search for the page you were looking for</a>.</p>
<hr />
<p><strong>You may not be able to find the page you were after because of:</strong></p>
<ol type="a">
<li>An <strong>out-of-date bookmark/favorite</strong></li>
<li>A search engine that has an <strong>out-of-date listing for us</strong></li>
<li>A <strong>miss-typed address</strong></li>
</ol>
</div>
</div>
</asp:content>