1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
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/"
}
}
]
Contenido relevante
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 9 meses
- OFICIAL DE AWSActualizada hace 2 años