amazon web services - AWS S3 Website Hosting - Url Redirect Issue -
the below link mentions redirection of website hosted in s3 bucket.
https://docs.aws.amazon.com/amazons3/latest/dev/howdoiwebsiteconfiguration.html
i have url www.myurl.com. want below redirection
www.myurl.com www.myurl.com\page\mainpage www.myurl.com\page www.myurl.com\page\mainpage
question whether possible above redirection. have gone through documentation mentioned in above link not possible redirect.
according documentation, should able like:
<routingrules> <routingrule> <condition> <keyprefixequals>/</keyprefixequals> </condition> <redirect> <replacekeyprefixwith>/mainpage/</replacekeyprefixwith> </redirect> </routingrule> <routingrule> <condition> <keyprefixequals>page/</keyprefixequals> </condition> <redirect> <replacekeyprefixwith>/page/mainpage/</replacekeyprefixwith> </redirect> </routingrule> </routingrules>
you paste xml in input provided on page.
Comments
Post a Comment