I have generated my WordPress website as static html and deployed it to s3 bucket to serve as static website.
Here is my website endpoint: wwwalls.com
My SEO team wants that the page URLs must not contain trailing slashes, but I could not find any document online that could allow me to get rid of trailing slashes from the URL eg : https://wwwalls.com/demo leads to https://wwwalls.com/demo/
I tried using redirects but then it ends up in too many redirects.
[
{
"Condition": {
"KeyPrefixEquals": "demo/"
},
"Redirect": {
"ReplaceKeyPrefixWith": "demo"
}
}
]
Please advice !