Skip to content

Commit c6a77bb

Browse files
committed
Setting up redirects, fixing broken link.
1 parent 52dfe8e commit c6a77bb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

public/_redirects

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@
258258
/constellation/ /workers-ai/ 301
259259

260260
# D1
261+
/d1/d1-api/ /d1/rest-api/d1-api 301/
261262
/d1/client-api/ /d1/build-with-d1/d1-client-api/ 301
262263
/d1/build-with-d1/d1-client-api/ /d1/worker-api/ 301
263264
/d1/learning/using-d1-from-pages/ /pages/functions/bindings/#d1-databases 301
@@ -280,6 +281,7 @@
280281
/d1/reference/client-api/ /d1/build-with-d1/d1-client-api/ 301
281282
/d1/reference/environments/ /d1/configuration/environments/ 301
282283
/d1/reference/metrics-analytics/ /d1/observability/metrics-analytics/ 301
284+
/d1/reference/wrangler-commands/ / /d1/rest-api/wrangler-commands/ 301
283285
/d1/how-to/ /d1/build-with-d1/ 301
284286
/d1/how-to/query-databases/ /d1/build-with-d1/d1-client-api/ 301
285287
/d1/how-to/using-indexes/ /d1/build-with-d1/use-indexes/ 301
@@ -295,6 +297,7 @@
295297
/d1/configuration/local-development/ /d1/build-with-d1/local-development/ 301
296298
/d1/configuration/remote-development/ /d1/build-with-d1/remote-development/ 301
297299
/d1/build-with-d1/import-data/ /d1/build-with-d1/import-export-data/ 301
300+
/d1/build-with-d1/d1-client-api/ /d1/build-with-d1/query-d1/ 301
298301
/d1/reference/database-commands/ /d1/reference/sql-statements/ 301
299302
/d1/reference/sql-statements/ /d1/sql-api/sql-statements/ 301
300303

src/content/docs/d1/build-with-d1/query-d1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ There are three primary ways you can query a D1 database:
99

1010
1. Using [D1 Workers Binding API](/d1/worker-api/) in your code.
1111
2. Using [D1 REST API](/api/operations/cloudflare-d1-create-database).
12-
3. Using [D1 Wrangler commands](/d1/wrangler-commands/).
12+
3. Using [D1 Wrangler commands](/d1rest-api/wrangler-commands/).
1313

1414
## Query D1 with Workers Binding API
1515

0 commit comments

Comments
 (0)