Skip to content

Commit b4bbeb1

Browse files
add redirects for new pages (#635)
Co-authored-by: Rachel Lee Nabors <nearestnabors@users.noreply.github.com>
1 parent e8bfcca commit b4bbeb1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

next.config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ const nextConfig: NextConfig = withLlmsTxt({
2424
async redirects() {
2525
return [
2626
// Old /home/* paths to new structure
27+
{
28+
source: "/:locale/home/build-tools/server-level-vs-tool-level-auth",
29+
destination: "/:locale/learn/server-level-vs-tool-level-auth",
30+
permanent: true,
31+
},
32+
{
33+
source: "/:locale/home/build-tools/secure-your-mcp-server",
34+
destination: "/:locale/guides/security/secure-your-mcp-server",
35+
permanent: true,
36+
},
2737
{
2838
source: "/:locale/home/agent-frameworks-overview",
2939
destination: "/:locale/guides/agent-frameworks",

0 commit comments

Comments
 (0)