Skip to content
Open
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
7 changes: 7 additions & 0 deletions amplify/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ resource "aws_amplify_app" "docs" {
target = "/<*>"
}

// redirect old RSS feed URL to new URL (changed with Docusaurus v3 upgrade)
custom_rule {
source = "/blog/feed.xml"
status = "301"
target = "/blog/rss.xml"
}

// some legacy links still use the format /mydocs instead of /mydocs/
// for these lnks fallback to client side routing
// https://docs.aws.amazon.com/amplify/latest/APIReference/API_CustomRule.html
Expand Down