This repository has been archived by the owner on May 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
52 lines (52 loc) · 1.98 KB
/
404.html
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
<style>
body {
padding: 6%;
line-height: 1.3;
background: #f7f7f7;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.wrapper {
max-width: 520px;
font-family: sans-serif;
color: #444;
margin: 0 auto;
}
h1 {
width: 150%;
margin: 0 0 70px -25%;
text-align: center;
font-size: 340%;
line-height: 1.1;
letter-spacing: -.04em;
}
h1 em {
font-weight: 400;
font-style: normal;
color: #eb592f;
}
a {
color: #eb592f;
}
code {
background: rgba(230, 80, 40, .1);
font-size: 120%;
display: inline-block;
color: #333;
color: rgba(0,0,0,.6);
padding: 0px 4px;
}
</style>
<div class="wrapper cf">
<h1>The page <em><?php echo $_SERVER['REQUEST_URI']; ?></em> doesn't exist</h1>
<p>The page can't be found. Here are a couple of suggestions what could have gone wrong and how to solve it.</p>
<h3>In the “Views”-folder?</h3>
<p>All pages needs to be in the “Views”-folder. Put your page in the folder “Views” as <code>pagename.php</code> and access it without the <code>.php</code>.</p>
<h3>Correct spelled?</h3>
<p>Check the spelling both in the “Views”-folder and the url. </p>
<h3>A sub folder in “Views”?</h3>
<p>At the moment you can't put any sub-folders in the “Views” folder. Instead, use different names. E.g. something like <code>offices.php</code> together with <code>local-office.php</code> makes for a good, clear approach. </p>
<h3>Something wrong with Apache?</h3>
<p>Make sure you have enabled <code>mod_rewrite</code> in your Apache install. How? <a href="https://www.google.com/search?q=enable+mod_rewrite+httpd.conf" title="">Let me Google that for you…</a>
</div>