-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
28 lines (28 loc) · 927 Bytes
/
404.html
File metadata and controls
28 lines (28 loc) · 927 Bytes
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
<!DOCTYPE html>
<html lang="nl">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Pagina niet gevonden - ShareValue</title>
<script>
// Handle legacy hash-based URLs (e.g., /#/about -> /about)
// This helps users with old bookmarks or cached links transition to the new routing
if (location.hash && location.hash.startsWith('#/')) {
const path = location.hash.slice(1); // Remove '#' to get the path
window.location.replace(location.origin + path);
}
</script>
</head>
<body>
<h1>Pagina niet gevonden</h1>
<p>De pagina die u zoekt bestaat niet. U wordt automatisch doorgestuurd...</p>
<script>
// Fallback: redirect to home after 3 seconds if no hash redirect occurred
if (!location.hash.startsWith('#/')) {
setTimeout(() => {
window.location.href = '/';
}, 3000);
}
</script>
</body>
</html>