Skip to content

Commit 46eb891

Browse files
committed
Add redirect page for /GeoCollabForm/
Add public/geocollabform/index.html to immediately redirect incoming requests to /GeoCollabForm/. The page uses a meta refresh and a JavaScript window.location.replace to preserve the original query string and hash, includes a canonical link to the /GeoCollabForm/ URL, and provides a fallback anchor for non-JS clients.
1 parent cf06b9c commit 46eb891

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

public/geocollabform/index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Redirecting…</title>
6+
<meta http-equiv="refresh" content="0; url=/GeoCollabForm/">
7+
<link rel="canonical" href="https://geopressure.org/GeoCollabForm/">
8+
<script>
9+
window.location.replace("/GeoCollabForm/" + window.location.search + window.location.hash);
10+
</script>
11+
</head>
12+
<body>
13+
<p>Redirecting to <a href="/GeoCollabForm/">/GeoCollabForm/</a>.</p>
14+
</body>
15+
</html>

0 commit comments

Comments
 (0)