This generator creates JSON code for AWS console that makes 301 redirects from all pages with a certain prefix to exactly defined page.
Old url, New url pairs
Copy AWS S3 rules from here:
Separator between old and new url:
Comma "," Space " " Semicolon ";"
Delete new host names Add lines between the rules