AWS S3 static site subdirectory to serve content from ec2


Staff member
I have a personal static AWS S3 website and I've configured to point to this using DNS and Route 53.

As of recently, I now also have a wordpress blog, which is an ec2 instance. I've created a DNS record to point the subdomain to the ec2 instance.

This all works fine.

However, my research suggests that from a SEO perspective the blog would be better served via a subdirectory as opposed to a subdomain e.g.

Is it even possible to do this in S3 using redirect rules or something, and if so how would I go about doing this?