Redirect www to non-www in CloudFront using Lambda@Edge

Every website should be accessible by using addresses like and On the other hand you should never have a duplicate content by serving the same content on different URLs. Because of these UX and SEO principles it’s best practice to create a permanent redirection from to or vice versa. When hosting a static website with AWS S3 and … Read more