]> git.openstreetmap.org Git - nominatim.git/commitdiff
add warning page for URL change
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 2 Aug 2023 18:12:28 +0000 (20:12 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 2 Aug 2023 18:12:28 +0000 (20:12 +0200)
website/404-old-search-syntax.html [new file with mode: 0644]

diff --git a/website/404-old-search-syntax.html b/website/404-old-search-syntax.html
new file mode 100644 (file)
index 0000000..a6ea5b7
--- /dev/null
@@ -0,0 +1,24 @@
+<html>
+<head>
+<title>File Not Found</title>
+</head>
+<body>
+<h1>File not found: API no longer accessible via this URL</h1>
+
+<p>Using the URL <tt>/search/</tt> and <tt>/reverse/</tt> (with slashes)
+is no longer supported. Please use URLs as given in the documentation.</p>
+
+<p><b>Examples how to change the URL:</b></p>
+
+<p>You use: <tt>https://nominatim.openstreetmap.org/search/?q=Berlin</tt><br/>
+Change to: <tt>https://nominatim.openstreetmap.org/search?q=Berlin</tt>
+</p>
+
+<p>You use: <tt>https://nominatim.openstreetmap.org/search/US/Texas/Huston</tt><br/>
+Change to: <tt>https://nominatim.openstreetmap.org/search?q=Huston, Texas, US</tt>
+</p>
+
+<p>See <a href="https://github.com/osm-search/Nominatim/issues/3134">github issue #3134</a>
+for more details.</p>
+</body>
+</head>