1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hello
I have created a test environment with the information reported, Here is the info that i have done.
- I have created index.html and two folders
abc/
,cde
andabc/bcd
- I have added the redirection rule example below
- As you can see it is a loop for cde/ goes to abc again abc have the redirection to implementing-test-page/test-page.html, I am able to redirect with success
Observations:
- Patience is required because after an update of the json file it is taking few min for the update
[
{
"Condition": {
"KeyPrefixEquals": "abc/bcd/"
},
"Redirect": {
"ReplaceKeyWith": "implementing-test-page/test-page.html"
}
},
{
"Condition": {
"KeyPrefixEquals": "abc/"
},
"Redirect": {
"ReplaceKeyWith": "implementing-test-page/test-page.html"
}
},
{
"Condition": {
"KeyPrefixEquals": "cde/"
},
"Redirect": {
"ReplaceKeyPrefixWith": "abc/"
}
}
]
répondu il y a 2 ans
Contenus pertinents
- demandé il y a 3 mois
- Réponse acceptéedemandé il y a 7 mois
- demandé il y a 6 mois
- Réponse acceptéedemandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 10 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 8 mois