I am currently running a static landing site at mydomain.com with the files stored in an s3 bucket with cloudfront in front of it. A colleague requested that we move our blog (currently in wordpress) from a subdomain to a subdirectory i.e. from blog.mydomain.com to mydomain.com/blog. I want to mask everything on the blog site to stay on mydomain.com, but I can’t seem to do that currently.

I’m currently making a separate s3 bucket, having redirection rules to redirect all traffic there to my wordpress site, then trying to have cloudfront display those urls as mydomain.com/blog/*, but some far I can’t seem to make progress on that approach.

Thanks in advance.

Read more here: WordPress site served when mydomain.com/blog is reached on s3 static site


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: