AWS Route 53 Tutorial: Setup WWW redirect for non WWW S3 Domain with Route 53
Learn how to redirect from www to non-www or from non-www to www in Amazon using Route 53 and S3 buckets.
This technique is the best for SEO friendly site-wide redirects. All the redirects are 301 permanent redirects, meaning that if someone chooses to link to your site as a www. site it will still go to the right page within the site and it will still pass the link juice onto the real page.
A lot of other great stuff on this channel, be sure to subscribe to see other great tutorials like this one.
Use:
1. http://example.com/* to https://www.example.com/$1
2. https://example.com/* to https://www.example.com/$1
3. http://www.example.com/* to https://www.example.com/$1
Please note that this is different from SSL ALWAYS on, as this will add another redirect causing one additional avoidable redirect.
Written by admin