-
-
Save swaminator/0c598fabdb222c39a6bcce41a48233fb to your computer and use it in GitHub Desktop.
Amplify Console - Trailing slashes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In the Amplify Console, navigate to Rewrites and redirects. Add the following depending on what you want: | |
Case 1: | |
Actual content location: /about/index.html | |
What user types in browser: /about/index.html | |
What user sees in browser: /about/ | |
Configure in Amplify Console: /about/index.html /about/ 301 | |
Case 2: | |
Actual content location: /about.html | |
What user types in browser: /about.html | |
What user sees in browser: /about | |
Configure in Amplify Console: /about.html /about 301 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment