Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
116 changes: 0 additions & 116 deletions docs/platforms/dotnet/guides/uwp/index.mdx

This file was deleted.

5 changes: 5 additions & 0 deletions redirects.js
Original file line number Diff line number Diff line change
Expand Up @@ -1222,6 +1222,11 @@ const userDocsRedirects = [
source: '/platforms/dotnet/guides/uwp/profiling/:path*',
destination: '/platforms/dotnet/profiling/',
},
// General .NET redirects for UWP (deprecated)
{
source: '/platforms/dotnet/guides/uwp/:path*',
destination: '/platforms/dotnet/guides/maui/',
},
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Redirection Chain: UWP to Maui Needs Cleanup

The new redirect for UWP paths creates a redirect chain. There's an existing redirect in src/middleware.ts (line 925) that redirects /platforms/dotnet/uwp/ to /platforms/dotnet/guides/uwp/. When combined with this new redirect from /platforms/dotnet/guides/uwp/:path* to /platforms/dotnet/guides/maui/, users accessing /platforms/dotnet/uwp/ will be redirected twice: first by middleware to /platforms/dotnet/guides/uwp/, then by this redirect to /platforms/dotnet/guides/maui/. The middleware redirect should be removed to create a direct single redirect from /platforms/dotnet/uwp/ to /platforms/dotnet/guides/maui/.

Fix in Cursor Fix in Web

{
source: '/platforms/dotnet/guides/aws-lambda/profiling/:path*',
destination: '/platforms/dotnet/profiling/',
Expand Down
Loading