Skip to content

Commit cc24481

Browse files
committed
Fix redirects
1 parent d91092b commit cc24481

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

public/__redirects

+3-1
Original file line numberDiff line numberDiff line change
@@ -1584,7 +1584,9 @@
15841584
/workers/tutorials/create-sitemap-from-sanity-cms/ /developer-spotlight/tutorials/create-sitemap-from-sanity-cms/ 301
15851585
/workers/tutorials/custom-access-control-for-files-in-r2-using-d1-and-workers/ /developer-spotlight/tutorials/custom-access-control-for-files/ 301
15861586
/workers/tutorials/generate-dynamic-og-images-using-workers/ /workers/tutorials/ 302
1587-
/workers/static-assets/compatibility-matrix/ /workers/static-assets/migrate-from-pages/ 301
1587+
/workers/static-assets/migrate-from-pages/ /workers/static-assets/migration-guides/migrate-from-pages/ 301
1588+
/workers/static-assets/compatibility-matrix/ /workers/static-assets/migration-guides/migrate-from-pages/ 301
1589+
/workers/static-assets/migrations/vercel-to-workers/ /workers/static-assets/migration-guides/vercel-to-workers/ 301
15881590
/workers/frameworks/framework-guides/remix/ /workers/frameworks/framework-guides/react-router/ 301
15891591
/workers/testing/unit-testing/ /workers/testing/vitest-integration/write-your-first-test/ 301
15901592
/workers/testing/integration-testing/ /workers/testing/ 301

src/content/docs/pages/framework-guides/nextjs/ssr/supported-features.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The [`@opennextjs/cloudflare` adapter](https://opennext.js.org/cloudflare), whic
2222

2323
`@opennextjs/cloudflare` is pre 1.0, and still in active development. As it approaches 1.0, it will become the clearly better choice for most Next.js apps, since Next.js has been engineered to only support its Node.js "runtime" for many newly introduced features.
2424

25-
Refer to the [OpenNext docs](https://opennext.js.org/cloudflare) and the [Workers vs. Pages compatibility matrix](/workers/static-assets/migrations/migrate-from-pages/#compatibility-matrix) for more information to help you decide which to use.
25+
Refer to the [OpenNext docs](https://opennext.js.org/cloudflare) and the [Workers vs. Pages compatibility matrix](/workers/static-assets/migration-guides/migrate-from-pages/#compatibility-matrix) for more information to help you decide which to use.
2626

2727
#### Supported Node.js APIs when using `@cloudflare/next-on-pages`
2828

src/content/docs/workers/static-assets/migrations/index.mdx renamed to src/content/docs/workers/static-assets/migration-guides/index.mdx

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
---
22
pcx_content_type: navigation
3-
title: Migrations
3+
title: Migration Guides
44
sidebar:
55
order: 11
6+
group:
7+
hideIndex: true
68
head: []
79
description: Learn how to migrate your applications to Cloudflare Workers.
810
---
@@ -18,4 +20,4 @@ import {
1820

1921
Take advantage of Cloudflare's global network and migrate your existing applications to Workers.
2022

21-
<DirectoryListing folder="workers/static-assets/migrations" />
23+
<DirectoryListing />

src/content/docs/workers/static-assets/migrations/migrate-from-pages.mdx renamed to src/content/docs/workers/static-assets/migration-guides/migrate-from-pages.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
pcx_content_type: concept
3-
title: Migrate from Pages
3+
title: Migrate from Pages to Workers
44
sidebar:
55
order: 7
66
head: []

src/content/docs/workers/static-assets/migrations/vercel-to-workers.mdx renamed to src/content/docs/workers/static-assets/migration-guides/vercel-to-workers.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { WranglerConfig } from "~/components";
99

1010
In this tutorial, you will learn how to migrate your Vercel application to Cloudflare Workers.
1111

12-
You should already have an existing project deployed on Vercel that you would like to host on Cloudflare Workers. Vercel specific features are not supported by Cloudflare Workers. Review the [Workers compatibility matrix](/workers/static-assets/migrations/migrate-from-pages/#compatibility-matrix) for more information on what is supported.
12+
You should already have an existing project deployed on Vercel that you would like to host on Cloudflare Workers. Vercel specific features are not supported by Cloudflare Workers. Review the [Workers compatibility matrix](/workers/static-assets/migration-guides/migrate-from-pages/#compatibility-matrix) for more information on what is supported.
1313

1414
## Frameworks
1515

@@ -82,4 +82,4 @@ Once your custom domain is set up and sending requests to Cloudflare Workers, yo
8282

8383
## Troubleshooting
8484

85-
For additional migration instructions, review the [Cloudflare Pages to Workers migration guide](/workers/static-assets/migrations/migrate-from-pages/). While not Vercel specific, it does cover some additional steps that may be helpful.
85+
For additional migration instructions, review the [Cloudflare Pages to Workers migration guide](/workers/static-assets/migration-guides/migrate-from-pages/). While not Vercel specific, it does cover some additional steps that may be helpful.

0 commit comments

Comments
 (0)